diff --git a/content/2.developers/3.guides/9.cw-fees/2.gas-guzzler.md b/content/2.developers/3.guides/9.cw-fees/2.gas-guzzler.md index a8d8aa61..afa8c738 100644 --- a/content/2.developers/3.guides/9.cw-fees/2.gas-guzzler.md +++ b/content/2.developers/3.guides/9.cw-fees/2.gas-guzzler.md @@ -35,9 +35,9 @@ The Guzzler Club offers a gasless transaction solution on the Archway network, a We've added a basic [fee granter implementation guide](/developers/guides/cw-fees/introduction#frontend-interaction) that shows how you can use `arch3.js` to execute a transaction where the feegranter pays the gas fees. This is exactly what a frontend would need to do to utilize the Gas Guzzeler solution. -The the Guzzler Club `mainnet` contract address is `archway1avwvqzu9gv86g5fxx5p2xqe0w33wklt27jusdrhszwccnfnxx0rsmzz8nu` and this would be used as the fee granter address. +The the Guzzler Club `mainnet` contract address is `archway1avwvqzu9gv86g5fxx5p2xqe0w33wklt27jusdrhszwccnfnxx0rsmzz8nu` and this would be used as the fee granter address. The `testnet` address is `archway17n7jp9drsltmwcjz4awet9khy5v0xnyrxdhrv0mwpr8m6cfxxcrsdz9zur`. -In order for a user's account to take advantage of the Gas Guzzler fee grant, their account would have to be whitelisted by the fee granter contract address above. This happens when an account accesses the [Guzzler Club](https://connect.archway.io/guzzler-club) and perform the required tasks. +In order for a user's account to take advantage of the Gas Guzzler fee grant, their account would have to be whitelisted by the fee granter contract address above. This happens when an account accesses the [Guzzler Club](https://connect.archway.io/guzzler-club) and perform the required tasks which could be as simple as simple as linking their twitter account. To check if an account is whitelisted and still has an allowance you can use the following command substituting `$USER_ADDRESS` with the actual address: @@ -61,14 +61,14 @@ testnet ::highlight-card ```bash -archwayd query wasm contract-state smart archway1avwvqzu9gv86g5fxx5p2xqe0w33wklt27jusdrhszwccnfnxx0rsmzz8nu '{"member":{"address":"$USER_ADDRESS"}}' --chain-id constantine-3 --node https://rpc.constantine.archway.io:443 --output json | jq +archwayd query wasm contract-state smart archway17n7jp9drsltmwcjz4awet9khy5v0xnyrxdhrv0mwpr8m6cfxxcrsdz9zur '{"member":{"address":"$USER_ADDRESS"}}' --chain-id constantine-3 --node https://rpc.constantine.archway.io:443 --output json | jq ``` :: :: -You also have the option of checking this via `arch3.js`: +You also have the option of checking this via javascript: ::tab-card{noOfTabs=2} #title0 @@ -84,7 +84,7 @@ import { ArchwayClient } from '@archwayhq/arch3.js'; const client = await ArchwayClient.connect('https://rpc.mainnet.archway.io:443'); const contractAddress = 'archway1avwvqzu9gv86g5fxx5p2xqe0w33wklt27jusdrhszwccnfnxx0rsmzz8nu'; -const userAddress = 'archway19vprdtfha0xsls0qlwqj2sas32nqqtf4ee9z58'; +const userAddress = ''; const msg = { member:{address: userAddress} @@ -112,8 +112,8 @@ import { ArchwayClient } from '@archwayhq/arch3.js'; const client = await ArchwayClient.connect('https://rpc.constantine.archway.io:443'); -const contractAddress = 'archway1avwvqzu9gv86g5fxx5p2xqe0w33wklt27jusdrhszwccnfnxx0rsmzz8nu'; -const userAddress = 'archway19vprdtfha0xsls0qlwqj2sas32nqqtf4ee9z58'; +const contractAddress = 'archway17n7jp9drsltmwcjz4awet9khy5v0xnyrxdhrv0mwpr8m6cfxxcrsdz9zur'; +const userAddress = ''; const msg = { member:{address: userAddress}