coinbase / coinbase-sdk-ruby

Other
37 stars 11 forks source link

USDC faucet for base sepolia #167

Closed jazz-cb closed 2 months ago

jazz-cb commented 2 months ago

What changed? Why?

[2] pry(main)> wallet = Coinbase::Wallet.create
=> Coinbase::Wallet{id: '11f3f496-c4df-47ab-a2cd-56091828bb35', network_id: 'base_sepolia', default_address: '0x57bbdBBE6d240793BE9325E691EA1b7fED3311B5'}
[3] pry(main)> wallet.faucet
=> Coinbase::FaucetTransaction{transaction_hash: '0xdf98a7f4ae7aedfb2d68b502fddd8949edbb98a4f3860e850c34b161611f145c', transaction_link: 'https://sepolia.basescan.org/tx/0xdf98a7f4ae7aedfb2d68b502fddd8949edbb98a4f3860e850c34b161611f145c'}
[4] pry(main)> wallet.faucet(asset_id: :usdc)
=> Coinbase::FaucetTransaction{transaction_hash: '0x0e7b10e7aee5f00c3bbf2c230a397a901cbcf5b1e78d696505bac9694b556cd7', transaction_link: 'https://sepolia.basescan.org/tx/0x0e7b10e7aee5f00c3bbf2c230a397a901cbcf5b1e78d696505bac9694b556cd7'}
[5] pry(main)> wallet.faucet(asset_id: :eth)
=> Coinbase::FaucetTransaction{transaction_hash: '0x015390de3932976065faaf9207423f676fd51c5e09fe32b9c2e5cee8f9ad72a9', transaction_link: 'https://sepolia.basescan.org/tx/0x015390de3932976065faaf9207423f676fd51c5e09fe32b9c2e5cee8f9ad72a9'}

Qualified Impact