Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 40 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ trustvc document-store revoke
# Mint a token to a registry
trustvc mint

# Deploy a token registry contract
trustvc token-registry deploy

# Transfer document holder
trustvc title-escrow transfer-holder

Expand Down Expand Up @@ -175,9 +178,9 @@ trustvc title-escrow reject-transfer-owner-holder

### Blockchain Operations

- **Token Registry**: Uses `mint` to mint document hashes (tokenIds) to blockchain-based token registries across multiple networks (Ethereum, Polygon, XDC, Stability, Astron).
- **Token Registry**: Deploy token registry contracts and mint document hashes (tokenIds) to blockchain-based token registries across multiple networks (Ethereum, Polygon, XDC, Stability, Astron).

- **Document Store**: Uses `documentStoreIssue` and `documentStoreRevoke` to issue and revoke document hashes in deployed document store contracts.
- **Document Store**: Deploy document store contracts and use `documentStoreIssue` and `documentStoreRevoke` to issue and revoke document hashes in deployed contracts.

- **Title Escrow**: Provides comprehensive transferable records management including holder transfers, beneficiary nominations, endorsements, returns, and rejections using smart contracts.

Expand All @@ -197,7 +200,8 @@ trustvc title-escrow reject-transfer-owner-holder
| | [`verify`](#verify) | Verify OpenAttestation documents |
| | [`oa-wrap`](#oa-wrap) | Wrap OpenAttestation documents |
| | [`oa-unwrap`](#oa-unwrap) | Unwrap OpenAttestation documents |
| **Token Registry** | [`mint`](#mint) | Mint tokens to blockchain registries |
| **Token Registry** | [`token-registry deploy`](#token-registry-deploy) | Deploy token registry contracts |
| | [`mint`](#mint) | Mint tokens to blockchain registries |
| | `token-registry mint` | Alternative: `mint` |
| **Document Store** | [`document-store deploy`](#document-store-deploy) | Deploy document store contracts |
| | [`document-store issue`](#document-store-issue) | Issue document hashes |
Expand Down Expand Up @@ -508,6 +512,38 @@ Transaction receipt with hash, block number, gas used, and explorer link.

</details>

<details>
<summary><h4 id="token-registry-deploy">token-registry deploy</h4></summary>

Deploys a token registry contract on the blockchain.

**Usage:**

```sh
trustvc token-registry deploy
```

**Interactive Prompts:**

- Network selection (Ethereum, Polygon, XDC, Stability, Astron)
- Token registry name
- Token registry symbol
- Wallet/private key option
- Dry-run option (estimate gas before deployment)

**Output:**
Transaction receipt with deployed contract address, hash, block number, gas used, and explorer link.

**Supported Networks:**

- Ethereum (Mainnet, Sepolia)
- Polygon (Mainnet, Amoy Testnet)
- XDC Network (Mainnet, Apothem Testnet)
- Stability (Mainnet, Testnet)
- Astron (Mainnet, Testnet)

</details>

<details>
<summary><h4 id="token-registry-mint">token-registry mint</h4></summary>

Expand Down Expand Up @@ -1126,6 +1162,7 @@ src/commands/
│ └── wrap.ts # Wrap OpenAttestation documents
│ └── unwrap.ts # Unwrap OpenAttestation documents
├── token-registry/
│ ├── deploy.ts # Deploy token registry contracts
│ └── mint.ts # Mint tokens to registry
├── document-store/
│ ├── deploy.ts # Deploy document store contracts
Expand Down
Loading