Anyone can access defi world without any knowledge about blockchain or defi protocol api or something else. And the more importance is in that you can do anything using only one transaction.
const spells = [
{"connector": "Compound-A", method: "deposit", args:[amt1]},
{"connector": "Compound-A", method: "borrow", args:[amt2]}
];
await dsa.cast(...encodeSpells(spells), {from: user});
# fork from etherum mainnet
bash ./tools/forknet.sh
truffe migrate
truffle exec ./scripts/demo.js
bash ./tools/forknet.sh
truffle test
- add connector to support other defi protocols
- register connector