└── README.md /README.md: -------------------------------------------------------------------------------- 1 | # Seismic-Devnet-Contract-Deploy-Guide 2 | Guide How to Deploy Seismic Devnet Contract 3 | 4 | 5 | # Pre-Requirements 6 | 7 | # 1. Install Rust 8 | 9 | ``` 10 | curl https://sh.rustup.rs -sSf | sh 11 | . "$HOME/.cargo/env" 12 | ``` 13 | 14 | Verify Installation 15 | 16 | ``` 17 | rustc --version 18 | ``` 19 | 20 | # 2. Install jq 21 | 22 | For WSL/Ubuntu 23 | 24 | ``` 25 | sudo apt install jq 26 | ``` 27 | 28 | For Mac 29 | 30 | ``` 31 | brew install jq 32 | ``` 33 | 34 | # 3. Install sfoundryup 35 | 36 | ``` 37 | curl -L \ 38 | -H "Accept: application/vnd.github.v3.raw" \ 39 | "https://api.github.com/repos/SeismicSystems/seismic-foundry/contents/sfoundryup/install?ref=seismic" | bash 40 | source ~/.bashrc 41 | ``` 42 | 43 | # 4. Run sfoundryup 44 | 45 | ``` 46 | sfoundryup 47 | ``` 48 | 🔺This Process can take a while to fully download 49 | 50 | 51 | # Deploy an encrypted contract 🎶 52 | 53 | # 1. Clone & Navigate to The Repo 54 | 55 | ``` 56 | git clone --recurse-submodules https://github.com/SeismicSystems/try-devnet.git 57 | cd try-devnet/packages/contract/ 58 | ``` 59 | 60 | # 2. Deploy contract (Follow all instructions here) 61 | 62 | ``` 63 | bash script/deploy.sh 64 | ``` 65 | 66 | This script will generate a wallet and promt a Faucet Url and the wallet address of that wallet! You have to take the faucet and Done✅ 67 | 68 | 69 | # Interact with an encrypted contract 🤖 70 | 71 | 72 | # 1. Navigate to home directory: 73 | 74 | ``` 75 | cd $home 76 | ``` 77 | 78 | # 2. Install Bun 79 | 80 | ``` 81 | curl -fsSL https://bun.sh/install | bash 82 | ``` 83 | 84 | # 3. Install node dependencies 85 | 86 | ``` 87 | cd try-devnet/packages/cli/ 88 | bun install 89 | ``` 90 | 91 | # 4. Send transactions 92 | 93 | ``` 94 | bash script/transact.sh 95 | ``` 96 | 97 | Done ✅ 98 | 99 | 👉 Join TG for more Updates: https://telegram.me/cryptogg 100 | 101 | If U have any issue then open a issue on this repo or Dm me on TG~ 102 | 103 | Thank U❤️ 104 | 105 | --------------------------------------------------------------------------------