Skip to content

gemwalletcom/contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Contracts

A collection of smart contracts for Gem Wallet.

  • bsc/hub_reader: A contract that simplify interacting with BSC Staking Hub

Development

  1. Install Foundry and you're good to go.
  2. Configure .env file with your BSC_RPC_URL and BSCSCAN_API_KEY, if you need to deploy the contract, you need to set PRIVATE_KEY as well.

Usage

Build

forge build

Test

forge test --rpc-url <your_rpc_url>

Deploy

# deploy hub_reader
cd bsc/hub_reader
forge script script/HubReader.s.sol:HubReaderScript --rpc-url "$BSC_RPC_URL" --broadcast --verify -vvvv

About

A collection of smart contracts for Gem Wallet.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published