Skip to content

vechain/smart-accounts-factory

Repository files navigation

VeChain Smart Accounts Factory

Logo

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.

Mainnet Address

  • SimpleAccountFactory: 0xC06Ad8573022e2BE416CA89DA47E8c592971679A

Testnet Address

  • SimpleAccountFactory: 0x7EABA81B4F3741Ac381af7e025f3B6e0428F05Fb

Run the project

Ensure your development environment is set up with the following:

Project Structure

Frontend (apps/frontend) 🌐

A blazing-fast React application powered by Vite:

  • Vechain dapp-kit: Streamline wallet connections and interactions. Learn more

Contracts (packages/contracts) 📜

Smart contract in Solidity, managed with Hardhat for deployment on the Vechain Thor network.

Packages 📦

Shared configurations and utility functions to unify and simplify your development process.

Getting Started

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.

Running the frontend with the deployed contracts

  yarn dev:mainnet

Deploy the contracts by yourself

Deploy the contracts on the Testnet:

  yarn contracts:deploy:testnet

Run the frontend to interact with the contracts on the Testnet:

  yarn dev:testnet

privy-aa-fee

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published