Deploy to Testnet

Explorers

Ping Explorer

Faucet

Join our Discord and request tokens in the #faucet channel. You will need the developer role from #pick-a-role.

Endpoints

RPC: https://rpc.elgafar-1.stargaze-apis.com

LCD: https://rest.elgafar-1.stargaze-apis.com

GRPC: http://grpc-1.elgafar-1.stargaze-apis.com:26660

GRPC2 : http://grpc-2.elgafar-1.stargaze-apis.com:26660

Building starsd binary

Deploying a contract

Stargaze testnet is permissionless and does not require a governance proposal to deploy new contracts. You may use Stargaze Studio web interface or the CLI to deploy new contracts

Deploying a contract through Stargaze Studio

1. Create a new wallet or import an existing one through the wallet extension on your browser

2. Request testnet STARS to the wallet address through the #faucet channel on Discord 3. Visit https://studio.publicawesome.dev/contracts/upload/ to deploy your contract on testnet

4. Upon successful deployment of your contract, a summary containing the code ID, transaction hash and other data will be displayed.

Deploying a contract through CLI

1. Create a stars address

2. Request funds through the #faucet channel

3. Configure RPC endpoint and Chain ID

4. Check your account has balance

5. Deploy a contract

After executing this transaction you will have a code id that you can use to instantiate the contract.

Instantiating a contract

You may use the CLI to instantiate the deployed contract with the custom instantiation message the contract expects.

Last updated