[ ] Add signing functionality (you can't use the normal ethereum/utils.js signTx method since we have to split up the nation creation process into multiple part's and transactions.
[ ] Add nation to database but set a flag like "preview" since it's not written to the blockchain. After it was created successfully, you should set the preview flag to false.
[ ] Add method to index nation into the database
[ ] Add method to fetch all nations
[ ] Add a env variable to pangea lib's so that we know if we are in an dev or prod env
[ ] Should be deleted when blockchain submission failed.
Problem / Task
We are working a lot with nation's in the pangea context so we need to integrate the smart contract's we wrote.
Needed data:
Nation Proxy address: 0x00417917d13C091447b53109E6818bE7214B101C ABI:
Sub task's
ethereum/utils.js
signTx method since we have to split up the nation creation process into multiple part's and transactions.Expected Output
Reproduce