Detailed technical documentation is located at https://docs.solace.fi
See https://github.com/solace-fi/solace-core/releases or https://docs.solace.fi/docs/dev-docs/Contract%20Addresses for a list of contract addresses.
.env.example
to .env
and fill in the missing values. You'll need to sign up for API keys with various third party providers.npm install
npx hardhat compile
npx hardhat test
.env.example
to .env
and fill in the missing values. You'll need to sign up for API keys with various third party providers.npm install
npx hardhat compile
You can choose to fork mainnet or redeploy.
Forking:
.env
set FORK_NETWORK=mainnet
hardhat.config.ts
set mainnet_fork.blockNumber
to a recent block.npx hardhat node
. Your local network will be available at localhost:8545
.Redeploying:
.env
set FORK_NETWORK=none
npx hardhat node
. Let this run and open a new terminal.npx hardhat run scripts/deploy-local-1.ts --network localhost
.npx hardhat run scripts/deploy-local-2.ts --network localhost
.localhost:8545
. See the outputs of the above commands for a list of contract addresses.See https://share.solace.fi/test_coverage/index.html
GNU General Public License v3.0