Smart Wallets
If you just need to interact with smart contracts, then the easiest thing to do is just build one of our smart wallets. You’ll be able to see all of your wallets in the dashboard athttps://app.goldsky.com/dashboard/compose/{appName}.
create a smart wallet
Using wallets
Once you have a wallet created you can use it to write to smart contracts, see the full smart contract docs for more detailsEOA wallets
You can also use EOS that you already own, this allows you to self-fund gas, send and receive tokens in your tasks, and interact with smart contracts in which an EOA you already own has privileges on particular contract methods. Currently we support storing your EOA private key in Compose’s [secret management system], but in the future you’ll be able to use private keys that are secured within TEEs. EOA wallets never pass their private keys outside of the task process and they sign requests passed in unsigned from the host process. When tasks run in TEEs they’ll be able to use private keys very securely within the TEE, never exposing it to any part of the stack ouside of the TEE. This will empower Compose to run the most security sensitive use cases. First, you’ll need to store the private key in Goldsky’s secret management system and reference it in your compose.yaml file. You can see details on how to do that in the Secrets docs. Once you have your private key secret stored, you can use it to create a wallet:Gas sponsoring
By default, smart wallets (wallets created without a private key) will use our gas sponsoring, allowing you to not think about and manage funding wallets for gas.Private key wallets (EOA wallets) do not have gas sponsoring enabled by default and will need to be funded with gas tokens. However you can always override this behavior through configuration. When you use gas sponsoring you just pay the “gas bill” as part of your normal monthly goldsky bill, avoiding the need to deal with the complex budgetary and tax issues of purchasing gas tokens. When you don’t use gas sponsoring, you’ll need to get your wallet address from the compose dashboard at
https://app.goldsky.com/dashboard/compose/{appName}
and then transfer gas tokens to that wallet through a wallet or an exchange.