Tezos
Tezos client
-
Install the Tezos client. See Tezos client Installation and setup.
-
Connect the Tezos client to the Chainstack-deployed Tezos node:
octez-client -E --endpoint YOUR_CHAINSTACK_ENDPOINT
where YOUR_CHAINSTACK_ENDPOINT — your node HTTPS or WSS endpoint protected either with the key or password. See also node access details.
-
Run the Tezos client commands.
Example to get the balance of an address in tez:
$ octez-client get balance for tz1bEQQxao8bEbvuXgh8vnSQkPJaoUvyomMP
11475.954247 ꜩ
Taquito
-
Install Taquito. See Quick Start.
-
Use
RpcClient
to connect to your Tezos node:const { RpcClient } = require('@taquito/rpc'); async function main() { const client = new RpcClient('YOUR_CHAINSTACK_ENDPOINT'); await client.getBlock().then((data) => { console.log('-- Chain ID: ', data.chain_id); console.log('-- Head block: ', data); }).catch((error) => console.log(JSON.stringify(error, null, 2))); }
where YOUR_CHAINSTACK_ENDPOINT — your node HTTPS endpoint. See also node access details.
Temple wallet
- Install the Temple wallet.
- In the wallet, click Settings > Networks.
- Under Add network, in the RPC base URL field, provide your Tezos node endpoint.
See also node access details.
SmartPy
-
Install SmartPy.
-
Originate your contract through a Chainstack-deployed Tezos node:
SmartPy.sh originate-contract --code CONTRACT --storage STORAGE --rpc YOUR_CHAINSTACK_ENDPOINT
where
- YOUR_CHAINSTACK_ENDPOINT — your node HTTPS endpoint
- CONTRACT — your compiled contract
- STORAGE — your compiled contract storage
Updated 12 months ago