Find a full description and walkthrough for this guide in our docs:
https://docs.perp.fi/sdk-documentation/smart-contract-javascript-dev-guide
- MNEMONIC: the mnemonic for testing, please send some ETH on rinkeby testnet
- INFURA_PROJECT_ID: project id on infura, please register on infura to get a project
The code present here is for informational purposes only. Try it with testnet before using any code provided with mainnet funds. If you find bugs, please create an issue or PR. We welcome your feedback or contributions!