Skip to content

ElvenTools/elven-tools-sft-minter-sc

Repository files navigation

Elven Tools SFT Minter Smart Contract

The SFT minter will be a complementary tool of the new NFT minter but will also be used as an independent tool in many other use cases. Because there is no actual ETA for the new NFT minter, the SFT minter will have basic functionality at first and will be developed in time. But please add your requirements. Use the GitHub issues for that.

Current functionality

  • issue collection
  • configure and manage a collection
  • limit per one address
  • mint, create, buy and send SFTs (payment with EGLD)
  • claim funds from smart contract
  • change the price
  • giveaways

For later

How to use it

The simplest way would be with Elven Tools CLI.

Setup steps with the CLI:

  1. npm install elven-tools -g
  2. elven-tools derive-pem
  3. elven-tools deploy sft-minter
  4. elven-tools sft-minter issue-collection-token
  5. elven-tools sft-minter set-roles
  6. elven-tools sft-minter create
  7. elven-tools sft-minter start-selling ---then---
  8. elven-tools sft-minter buy
  9. check all available interaction commands: SFT minter commands

(more to come, check the kanban todo board)

You can also use it with npx without global installation.

You can find all the guidance here: SFT Workflow jump start. Check out short walkthrough video: youtu.be/rMF3ItijHUA.

You could also use mxpy tool.

The code is open source, and there is an ABI file.

Testing

You will find tests in tests/elven_tools_sft_minter_sc_rust_test.rs. To run a test, you can click on the Run Test button from under the test name in VS Code or you can run it with

cargo test --test elven_tools_sft_minter_sc_rust_test

(Tests need some more love)

Contact

Other tools

  • Elven Tools - SFTs and NFTs tools on the MultiversX blockchain - smart contracts, cli and dapp template
  • useElven - React hooks to be used with Next.js or standalone React
  • elven.js - The browser only lite MultiversX SDK, no build steps required. Works with static websites.
  • Buildo.dev - All things MultiversX CLI tool.