Skip to main content

TezosConfigSO scriptable object

The TezosConfigSO scriptable object sets the RPC node that the SDK sends Tezos transactions to.

To use this object, create an instance of it, put your information in its fields, and then drag this instance of the TezosConfigSO scriptable object to the Config field of the TezosManager prefab.

Adding the Pinata API key and the data provider to the TezosConfigSO object

Properties

  • Script: The attached script that implements the object
  • Network: A variable that lets you select which network to use, such as Tezos Mainnet or the Ghostnet testnet
  • RPC Url Format: The URL of the RPC node to use; this value replaces the variable {network} with the value of the Network field
  • Request Timeout Seconds: The time in seconds to wait for a response from the indexer
  • Pinata Api Key: The Pinata JWT (not the API key or secret key) to use to upload files and data to IPFS
  • Data Provider Config: The instance of the DataProviderConfig scriptable object to use

For more information about RPC nodes, see The RPC protocol.