Getting Started
xSuite makes the initialization, building, testing and deployment of contracts extremely easy.
Your first contract deployed in seconds
Let's initialize, build, test and deploy your first MultiversX contract in seconds.
The only requirement is to have Node.js 18+ already installed.
Install Node.js 18+
Install the Node Version Manager (opens in a new tab) (NVM):
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bashThen install Node.js 18:
nvm install 18First, install xsuite:
npm install -g xsuiteInstall Rust with the newly available xsuite command:
xsuite install-rustCreate a new blank contract in the directory first-contract and open it:
xsuite new --dir first-contract
cd first-contractCreate a new wallet, encrypted with the password of your choice:
xsuite new-wallet --wallet wallet.jsonFund this new wallet with 30 xEGLD, the fake EGLD of devnet:
xsuite request-xegld --wallet wallet.jsonBuild the contract:
npm run buildTest the contract:
npm run testDeploy the contract to MultiversX devnet:
npm run interact:devnet deploy