0.1.2 • Published 8 months ago
@toddli/plugin-trustgo v0.1.2
@toddli/plugin-trustgo
This elizaOS plugin provides actions and providers for interacting with trustgo - https://trustgo.trustalabs.ai/.
Description
The TrustGo plugin enables fetching EVM account information from the TrustGo website and facilitates the minting of MEDIA score attestations.
Features
- Login to TrustGo Website: Securely authenticate with TrustGo.
- Fetch Multi-Chain MEDIA Score: Retrieve MEDIA scores across multiple chains.
- Fetch User Attestations: Access user attestations.
- Mint L2 MEDIA Attestation: Mint MEDIA attestations on Layer 2.
Installation
pnpm install @toddli/plugin-trustgoConfiguration
Dependencies
@elizaos/core
@elizaos/plugin-evmRequired Environment Variables
# Required
EVM_PRIVATE_KEY=your-private-keyProvider
The TrustGo Provider integrates the EVM Wallet Provider. It performs the following functions:
- Login to TrustGo Website: Authenticate and log in to the TrustGo platform.
- Fetch Multi-Chain MEDIA Score: Retrieve MEDIA scores from multiple blockchain networks.
- List User Attestations: Display user attestations.
- Mint MEDIA Attestation: Mint MEDIA attestations on the blockchain.
Actions
1. account
Fetch account information from the TrustGo website.
go trustgo2. reputation
Display the user's MEDIA score.
Show my onchain Reputation3. attestation
List the user's attestations.
show my attestations4. mint attestation
Mint an on-chain reputation attestation.
mint my linea media score