Simplified version of the Account Abstraction pattern for the vechain blockchain.
There are 2 contracts (that you can find in the packages/contracts/contracts
folder):
- SimpleAccount: Is the abstracted account of the user.
- SimpleAccountFactory: Factory contract to create SimpleAccount contracts on demand.
You can fork the contracts and deploy them on your own, but we recommend using the contracts deployed by us for a better cross-app compatibility.
Owner of the Simple Account can execute transactions called directly from him or authorized via signatures and broadcasted by a third party.
- SimpleAccountFactory:
0xC06Ad8573022e2BE416CA89DA47E8c592971679A
- SimpleAccountFactory:
0x7EABA81B4F3741Ac381af7e025f3B6e0428F05Fb
Ensure your development environment is set up with the following:
- Node.js (v18 or later): Download here 📥
- Yarn: Install here 🧶
- Docker (for containerization): Get Docker 🐳
- Hardhat (for smart contracts): Getting Started with Hardhat ⛑️
A blazing-fast React application powered by Vite:
- Vechain dapp-kit: Streamline wallet connections and interactions. Learn more
Smart contract in Solidity, managed with Hardhat for deployment on the Vechain Thor network.
Shared configurations and utility functions to unify and simplify your development process.
Clone the repository and install dependencies with ease:
yarn # Run this at the root level of the project
Place your .env
files in the root folder, you can copy .env.example
file and rename it to .env
changing the values to your own.
yarn dev:mainnet
yarn contracts:deploy:testnet
yarn dev:testnet