-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chains: Fix Transaction Fee on Claim
- Loading branch information
Showing
3 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { Wallet } from "ethers"; | ||
import { Chain, ChainFactory, ChainFactoryConfigs } from "./factory"; | ||
|
||
(async () => { | ||
const cf = ChainFactory(ChainFactoryConfigs.TestNet()); | ||
const eth = await cf.inner(Chain.ETH); | ||
const wallet = new Wallet( | ||
"0x0e979ae1299df55645e68808754c93c067e35834195c420945d062858bea2965", | ||
eth.getProvider(), | ||
); | ||
|
||
const response = await eth.getClaimData( | ||
"0x210b4850cae9ab90802ac624cb7af46646ffc01167bfc079aab40345630361cf", | ||
); | ||
console.log(mint); | ||
})(); |