Skip to content

413x5/mx-wcc24-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MultiversX Winter Coding Challenge 2024

Rust implementation

A series of smart contracts written in Rust for the MultiversX blockchain.

Environment Installation

Install the MultiversX Smart Contract Rust SDK

Building the contracts

Use sc-meta in the terminal to build all contracts:

cd mx-wcc24-rs
sc-meta all build

Deploying and Testing Contracts

Use the MultiversX Utility App

  • Login with your developer wallet on Devnet
  • If necessary, you can get funds from web wallet's Faucet
  • Go to the SC Interaction page
  • Deploy the contracts by selecting the Deploy Contract tab and use the [contract-name].wasm file from the /output folder
  • Note the deployed contract's address after the deployment transaction is confirmed
  • You can also look at your scDeploy transaction in the Devnet Explorer. To find the contract's address, select the Logs section
  • After deployment, select the Load ABI tab and select the contract [contract-name].abi.json file from the /output folder
  • Make sure your contract's address is entered in the Contract Address field
  • You are now ready to interact with the contract!

Contracts

A smart contract that allows users to issue and manage ESDT Fungible tokens (SNOW).

A smart contract that allows users to stake ESDT Fungible tokens (WINTER) and earn SNOW rewards.

About

MX WCC 24

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages