Sirwin
Sirwin

Creation Of A Haskell Module To Manipulate With Cardano Addresses - Adamakerspace Bounty


BOUNTY: 1500 ADA 

Creation of a Haskell module to manipulate with Cardano addresses (create random Byron, Shelley, stake addresses, …), currently only possible in command line.

1. Rather than having to constantly access the cabal repl command line in order to acquire wallet addresses, which wastes time, we want a module which can be imported into a file and then allows for a function to be called to:

  • Generate a random wallet address (Primary goal)

  • Generate staking addresses (optional but extra credit)

     

2. Here is how we would normally go about getting a Cardano dummy wallet address:

 

  • If on windows load up a virtual machine

  • Open the terminal in the virtual machine

  • Go into a nix-shell in /plutus/

  • Then navigate into the /plutus-pioneer-program/

  • Cabal build

  • Cabal repl

  • import Wallet.Emulator

  • import Ledger

  • pubKeyHash $ walletPubKey $ Wallet #

     

Pictured below is what it looks like:

dba164a8a2828f7c1d4a5b8cc887573d5fbccf5ae166af7fe9d5a69b06e04aa1.jpg

 

So with the module, we would want to be able call some function and in return receive a random wallet address hash like this: 39f713d0a644253f04529421b9f51b9b08979d08295959c4f3990ee617f5139f

“Creation of a Haskell module to interface with Plutus modules to generate and manipulate randomized Cardano addresses so that we can easily and quickly access example addresses for wallets or staking contracts without having to go back and forth to the command line.”

Bounty Sponsor: Occam

Submit your work here:

https://adamaker.space/bounty/creation-of-a-haskell-module-to-estimate-transaction-size-fee-during-testing/

How do you rate this article?

14


Cryptotexty
Cryptotexty

Student of cryptocurrencies and economics. Interested in Cardano, Algorand, Terra, BCH, Mina, Near, Hive, Steemit and many other interesting blockchains and projects


Crypto Projects Information
Crypto Projects Information

Here I will post information about different crypto-projects

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.