Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SonYoungsung committed Mar 7, 2024
1 parent 6ed1568 commit 9fef3ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ Token List : [
```javascript
import { MultiChainSDK } from 'tokamak-multichain'

const sdk = new MultiChainSDK({
const TokamakSDK = new MultiChainSDK({
chainId: 55004,
})
const TON_CONTRACT = sdk.getTokenContract('TON')
const TON_CONTRACT = TokamakSDK.getTokenContract('TON')
const totalSupply = await TON_CONTRACT.totalSupply()
console.log('totalSupply :', totalSupply)
// totalSupply : BigNumber { _hex: '0x24d826680754da71d432', _isBigNumber: true }
Expand All @@ -76,10 +76,10 @@ console.log('totalSupply :', totalSupply)
```javascript
import { MultiChainSDK } from 'tokamak-multichain'

const sdk = new MultiChainSDK({
const TokamakSDK = new MultiChainSDK({
chainId: 55004,
})
const L2StandardBridge = sdk.getContract('L2StandardBridge')
const L2StandardBridge = TokamakSDK.getContract('L2StandardBridge')
const L2Messenger = await L2StandardBridge.messenger()
console.log('L2Messenger : ', L2Messenger)
// L2Messenger : 0x4200000000000000000000000000000000000007
Expand Down

0 comments on commit 9fef3ca

Please sign in to comment.