This example application shows how to deploy Safe smart accounts in multiple chains with the same configuration and address.
Please read the Safe React Hooks in the Safe documentation to see how to integrate Safe via React Hooks.
You will need some basic experience with React, Next.js. Before progressing with the tutorial, please make sure you have:
To install this example application, run the following commands:
git clone https://github.com/5afe/safe-multichain-deployment-demo.git
cd safe-multichain-deployment-demo
pnpm installCreate a file named .env at the root of your project, and add your Pimlico API key to it:
echo "NEXT_PUBLIC_PIMLICO_API_KEY='your_pimlico_api_key_goes_here'" > .env
Run the local development server with the following command:
pnpm devGo to http://localhost:3000 in your browser to see the application.
Please post any questions on Stack Exchange with the safe-core tag.
MIT, see LICENSE.