Sign a Transaction with Frame
How to use Frame
This guide will help you to get started with Frame and interact with a DAO using a hardware wallet. How to setup Frame go here.
To take full advantage of Frame, we recommend you have aragonCLI
installed as well. If you already have it, skip to the next section, otherwise run:
If you're having trouble with this step, you should take a look at the installing aragonCLI section or the troubleshooting guide. If that doesn't fix things, please don't hesitate to reach out to us on Discord in the #questions channel.
Signing your first transaction
In this section, we are going to interact with an already deployed DAO on Rinkeby that allows anyone to mint any amount of FRAME
tokens to any address. We will use an aragonCLI
command to execute a function on the Token Manager app installed on the DAO. You may find it helpful to learn more about dao exec
command before continuing.
The first step is to run this command in your terminal (click the copy button to copy the entire command):
Replace <address>
with an address of your choice (as the token minting recipient) and <amount>
with the amount of tokens you would like to mint for the address (remembering to apply the token's decimals, e.g. 10^18). The options --env
and --use-frame
tell aragonCLI
that we want to interact with Rinkeby to use Frame as the transaction signing provider.
Permissions
After running the command, you should see this error message in your terminal:
Don't worry, we just need to grant aragonCLI
permission to access your account on Frame. You may have seen Frame ask for this earlier on setup. Approve the request to continue.
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F1303901111-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FqkA65ZBta5cBbldyxyst%252Fuploads%252Fgit-blob-cbea007ab9a4d56066767051584c785bac749e0d%252Fframe-permissions.gif%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=657a956e&sv=1)
Signing
Now run the command again. This time, Frame will ask you to sign the transaction that aragonCLI generated (this can take a minute). Sign and then confirm it from your hardware device. In a couple of seconds, the transaction should be mined.
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F1303901111-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FqkA65ZBta5cBbldyxyst%252Fuploads%252Fgit-blob-d4ea58a01603717c5bd026a690b4ada2b25b0f65%252Fframe-first-tx.gif%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=d823004b&sv=1)
Congratulations 🎉! You've just signed your first transaction with Frame. Navigate to the live Aragon DAO's Token Manager to see the minted FRAME
tokens for your chosen address.
Viewing transactions
Finally, if you click on the "View details" button, Frame will open the transaction's details on Etherscan.
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F1303901111-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FqkA65ZBta5cBbldyxyst%252Fuploads%252Fgit-blob-d5785845b3906ec6009cb68a5795c5858e6399b1%252Fframe-view-tx.gif%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=2705360c&sv=1)
Last updated