-
Deploy the factory contract
-
Modify pay contract before deploying (Replace 'ERC20.SafeTransferFrom' to 'ERC20.transferFrom', replace all safe function to normal function)
-
Call factory contract with erc20 address to deploy pay contract
-
Approve pay contract and call the 'deposit' function of the pay contract.
-
If deposit succeed, then the contract deployment was succeed.
-
git clone $GRAPH_URL
-
cd $GRAPH
-
yarn codegen && yarn build
-
graph create --node https://graph.mvg.finance/deploy/ llamapay-subgraph-mvm-1
-
graph deploy --ipfs http://graph.mvg.finance:5001 --node https://graph.mvg.finance/deploy/ llamapay-subgraph-mvm-1
-
See (https://github.com/zed-wong/mvm-tokenlist) for more details
-
Collect and generate the token list in such format.
-
See (https://github.com/zed-wong/llamapay-interface-mvm/commit/7c3d4a406fc11c5b59eff74d72203f1a7a0b6693) for more details
-
Add MVM network
-
Modify gas price when calling contract
-
Add token list for mvm