Section for the people that develop this sdk / want to contribute.
- Install tenderly cli
- Type
tenderly login
in the terminal - Choose "Access key" option
- Enter the key. Find it in the peanut's notion in the tools section or ask @nebolax.
- Ready! Develop & run devnet tests the way you normally do it 🥜
EVM:
- update
src/data/contracts.json
cd src/data && python3 fillChainDetails.py
python3 fillTokenDetails.py
- Add test case
- QA / run test suite
(this process has to be optimized, it kinda sucks)
- update getContract switch cases
- update with new peanut ABIs (can we reuse structure and save on package size?)
- update contracts.json (copied from peanut-contracts repo)
- update data.ts consts (also arrays)
- Fill out
src/data/manualTokenDetails.json
with the token details - run
fillTokenDetails.py
- release