Skip to content

arks-labs/cygnus-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

How to run the examples

  • run pnpm i to install dependencies (you can use npm/bun/yarn as well)

  • use tsx or bun to run the example script

for example:

# use tsx (Node.js v18 or higher is required)
npx tsx src/examples/getShareRate.ts
# use bun
bun src/examples/getShareRate.ts

Info

  • cgUSD address: 0xCa72827a3D211CfD8F6b00Ac98824872b72CAb49
  • cgUSD ABI: see src/abi/index.ts

Examples

get share rate of wcgUSD / cgUSD

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published