/Web3PortfolioWallet

Web3PortfolioWallet

Primary LanguageTypeScriptMIT LicenseMIT

Web3PortfolioWallet

UX scenario

Presentation Slides

Select Prize (3)

1. The Graph - Best New Subgraph(s)

2. Reazon Holdings - REAZON is offering prizes for products and ideas that contribute to mass adoption of blockchain technology (especially in Japan) so that more users can experience the convenience of blockchain technology.

3. Polygon - onPolygon in Public Pool Prize

0x04d72300c70ceb073f0950b3659766db616023f8

deployed Smartcontract

No. Name address
1 DNS 0x8eD85ab44b29286D878492da06c862770A078176
2 MyToken 0xFF6E94b43b6c52f64eDb32926ad64a59039e8353

SubGraph Endpoint

https://api.studio.thegraph.com/query/44992/subgraph4/v0.0.2

  • Sample Query
query MyQuery {
  registereds(where: { to: "0x51908F598A5e0d8F1A3bAbFa6DF76F9704daD072" }) {
    did
    to
    name
  }
  tokenCreateds {
    symbol
    name
  }
  balanceChangeds(
    where: { to: "0x51908F598A5e0d8F1A3bAbFa6DF76F9704daD072" }
    first: 1
    orderDirection: desc
    orderBy: blockTimestamp
  ) {
    to
    balanceOf
  }
  updateVcs(where: { did: "did:ion:er....rer" }) {
    cid
    did
    name
  }
  updateScores(
    first: 1
    orderBy: blockTimestamp
    orderDirection: desc
    where: { to: "0x51908f598a5e0d8f1a3babfa6df76f9704dad072" }
  ) {
    to
    score
  }
}

Wallet Address (private key is managed by AWS KMS)

0xF1ed44b80FA7B1f2688aA69518EeaBC0A41523b5

Commands

  • install
yarn
  • Smartcontract test
yarn test:contract
  • deploy Smartcontract to Avalanche fuji Network
yarn deploy:fuji
  • verify Smartcontract to Avalanche fuji Network
yarn verify:fuji
  • start API Server
yarn start:api
  • build frontend
yarn build:frontend
  • start frontend
yarn start:frontend
  • subgraph codegen
yarn subgraph:codegen
  • subgraph build
yarn subgraph:build
  • subgraph deploy
yarn subgraph:deploy
  • kms connect test
yarn test:kms