The development of cosmwasm smartcontracts within fortytwo has been depricated since March 2024. This codebase is not maintained and is only here for reference.
An Abstract api for staking tokens in CosmWasm contracts.
In order to pull the abstract contracts for testing you need to enable http auth in github. https://doc.rust-lang.org/cargo/appendix/git-authentication.html
If you're on mac add the following to your global git config (located at ~/.gitconfig)
[credential]
helper = osxkeychain
At the root of the project, wasm the contracts using:
just wasmjust wasm-module <module> <args>Wasmed automatically! Be sure to check the default-features!
just deploy <chain-id>just deploy-module cw-staking <chain-id> <args>just create-vault <chain-id> <paired-asset-id>Cw-staking deployment for Terra Testnet:
just wasm-module cw-staking --features pisco-1 --no-default-featuresFor now, this repo depends on the feature/impl-in-origin-repo branch of the abstract adapters repo. This needs to be changed as this branch will move in the future