- clone this repo, zbirenbaum/cw-nft and sei-protocol/sei-chain
cd ./nft-bridge && yarn
- In two seperate terminals run the following
cd ./sei-chain && git checkout 3.0.8 && ./scripts/initialize_local_chain.sh
cd ./nft-bridge && npx hardhat node
cd ./cw-nfts
cargo wasm
docker run --rm -v "$(pwd)":/code \
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/rust-optimizer:0.14.0
cd ./nft-bridge && npx hardhat run scripts/deploy.ts --network localhost
cd ./nft-bridge && npx hardhat run scripts/executor.ts --network localhost
cd ./nft-bridge && npx hardhat run scripts/mintAndBridge.ts --network localhost