👷
Buildo Begins Meet Buildo. He is here to help you start creating in the Elrond blockchain ecosystem. Here is where everything begins.
I'm going on an adventure! The road goes ever on and on.
Buildo is a cool guy
— Beniamin Mincu👊 🔥 🌓 (@beniaminmincu) June 4, 2022
Walkthrough videos
- sending tokens: https://youtu.be/NijTSZhswns
- issuing, mintin and burning ESDT supply: https://youtu.be/_Jj0zCaATVU
- creating and checking the herotag for wallet address without the Maiar App: https://youtu.be/nvda-zCffck
With what he will help you (not all is available yet!):
- Deriving PEM files
- Making transactions
- Deploying smart contracts
- Smart contracts interactions
- Common API interactions and filtering
- Sky is the limit...
TODO
For now, the first version gives you basic stuff. But there will be much more:
- examples for interaction with smart contracts,
- proper erdjs interactions,
- ABI usage,
- custom operations on API
- Gandalf's wizarding shit and stuff, you will be amazed for sure!
How to work with Buildo:
- Install globally
npm install buildo-begins -g
- Derive the pem from seed phrase:
buildo-begins derive-pem
- The walletKey.pem file will be created
- Check the commands with
buildo-begins --help
- Use one of available commands, check them below.
- You will get some prompts, fill up the required data
Available commands for Buildo (for now, there will be more):
buildo-begins derive-pem
- derive PEM file from seed phrasebuildo-begins send-egld
- send EGLD tokensbuildo-begins send-esdt
- send ESDT tokensbuildo-begins send-sft
- send SFT tokensbuildo-begins send-nft
- send NFT tokenbuildo-begins send-meta-esdt
- send Meta ESDT tokensbuildo-begins issue-esdt
- issue new ESDT tokenbuildo-begins set-special-roles-esdt
- set/unset special ESDT rolesbuildo-begins mint-burn-esdt
- mint/burn the ESDT token supply (requires special roles)buildo-begins herotag
- create a herotag and assign it to addres and check addresses of existing ones
What is awesome here is that you don't have to worry about proper nonce, decimal places, or differentiation between the NFT token id and collection ticker. The maximum amount of arguments will always be the address, token id, and amount. It will differ for each type, but these are maximum.
How to use the config file?
Internally Buildo uses the config.ts file, but when you use it as a globally installed npm CLI tool, you don't have to touch that file. What you need to do is to create the .buildobeginsrc
file, where you can change values (here default values):
{
"chain": "devnet",
"customApi": "https://devnet-api.elrond.com"
}
Development:
- Clone the repo
- Each change needs
npm run build
- You can link the lib locally by
npm link
- If you want to build your version, find all the
buildo-begins
names and replace them with yours.