Closed xmonader closed 2 years ago
right now the flow is from the graphql e.g https://graphql.dev.grid.tf/graphql
query MyQuery { nodeContracts(where: {twinId_eq: 70}) { twinId contractId } }
I get all my contracts and then from polkadot UI I cancel them one by one
Also can be done using the script in grid3_client_ts https://github.com/threefoldtech/grid3_client_ts/blob/development/scripts/delete_all_contracts.ts , but needs to be more friendly.
We did not integrate smart contract module yet, if we want to have this feature I think we also should support contract creation
right now the flow is from the graphql e.g https://graphql.dev.grid.tf/graphql
I get all my contracts and then from polkadot UI I cancel them one by one
Also can be done using the script in grid3_client_ts https://github.com/threefoldtech/grid3_client_ts/blob/development/scripts/delete_all_contracts.ts , but needs to be more friendly.