strapi-plugin-chain-wallets
v0.3.0
Published
Chain Wallets is a plugin for Strapi v4 that allows EVM smart contracts to be easily associated with a content-type.
Downloads
44
Maintainers
Readme
Chain Wallets Strapi Plugin
A Strapi v4 plugin that allows EVM smart contracts to be easily associated with content-types.
Here are some of the things Chain Wallets currently does:
- Associate content-types to a smart contracts
- Associate a tokens with entities
- Automatically sync tokens to Strapi content types
- Automatically sync token ownership in database
- Create a "managed wallet" for and associate it with the current user
- Provides an API endpoint to return token metadata
- Protect your routes with 'token-exists' and 'owns-token' policies
- Extend entity service with to integrate with token metadata
- Configure hooks for your content-type for:
- Import metadata for all tokens in a contract
- Easily get an initialized EthersJS contract instance from the
chain-contract
service - ...and more to come!
Roadmap
- Provide "Owns Token" policy to only allow token owners to call the controller action
- Allow users to associate existing wallets with their login
- Sync common 721 properties to contract entity
- Mint a token from a managed wallet
- Provide imageLoader hook to allow different image locations per contract