This guide will help you add an additional user to your Turnkey organization and set permissions for that user through Policies. Specifically, we will create an API-only user with permissions to sign transactions to an allowlisted address.
<ALLOWED_ADDRESS>
with an Ethereum address of your choosing and <USER_ID>
with the user ID of your recently created API user.
<YOUR_TRANSACTION>
in the code snippet below. As a reminder, this guide assumes you’ve completed the Quickstart guide, and have set $ORGANIZATION_ID
as an environment variable.
COMPLETED
, while the activity to the non-allowlisted address comes back as FAILED
. You’ve successfully set your first policy!