Skip to content

georgedigkas/docker-sui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-sui

Run the sui Docker container:

docker run -it georgedigkas/sui /bin/bash

Generate the config file for the sui-client

sui client

Clone an existing move dApp from GitHub

Clone the source code of an existing move dApp

cd /home/
git clone https://github.com/amnn/nftrpg
cd nftrpg

(Optional Step - specifically for this project) - Replace 01989d3d5 with devnet in order to be able to build the project

sed -i 's/01989d3d5/devnet/g' Move.toml

Build the project

sui move build

Prerequirement our newly generated wallet to have enough funds. If it does not have ask from the Discord faucet. Get the address of the newly generated wallet

sui client active-address

Publish the dApp

sui client publish --gas-budget 10000

Mount into the container the source code of a local dApp (i.e. nftrpg), build it inside the container and publish it

NOTE: the binding of the volumes/directories is bidirectional the changes that are performed inside the container are stored also in the host machine and vice versa

docker run -it -v "$(pwd)"/nftrpg:/home/nftrpg georgedigkas/sui /bin/bash

Generate the config file for the sui-client

sui client

cd into mounted dApp

cd /home/nftrpg

(Optional Step - specifically for this project) - Replace 01989d3d5 with devnet in order to be able to build the project

sed -i 's/01989d3d5/devnet/g' Move.toml

Build the project

sui move build

Prerequirement our newly generated wallet to have enough funds. If it does not have ask from the Discord faucet. Get the address of the newly generated wallet

sui client active-address

Publish the dApp

sui client publish --gas-budget 10000

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors