zkcloudworker 0.18.2 → 0.18.4
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +201 -0
- package/README.md +2 -4
- package/dist/ts/cloud/config.js.map +1 -0
- package/dist/ts/cloud/index.js.map +1 -0
- package/dist/ts/cloud/networks.js.map +1 -0
- package/dist/ts/cloud/utils/base64.js.map +1 -0
- package/dist/ts/cloud/utils/graphql.js.map +1 -0
- package/dist/ts/cloud/utils/index.js.map +1 -0
- package/dist/ts/cloud/utils/utils.js.map +1 -0
- package/dist/ts/cloud/worker/cloud.js.map +1 -0
- package/dist/ts/cloud/worker/index.js.map +1 -0
- package/{lib → dist}/ts/cloud/worker/job.js.map +1 -1
- package/{lib → dist}/ts/cloud/worker/task.js.map +1 -1
- package/dist/ts/cloud/worker/transaction.js.map +1 -0
- package/dist/ts/cloud/worker/worker.js.map +1 -0
- package/dist/ts/index.js.map +1 -0
- package/dist/ts/mina/api/api.js.map +1 -0
- package/dist/ts/mina/index.js.map +1 -0
- package/dist/ts/mina/local/local.js.map +1 -0
- package/dist/ts/mina/storage/index.js.map +1 -0
- package/dist/ts/mina/storage/ipfs.js.map +1 -0
- package/dist/ts/mina/storage/pinata.js.map +1 -0
- package/dist/ts/mina/storage/storage.js.map +1 -0
- package/dist/ts/mina/token/FungibleToken.js.map +1 -0
- package/dist/ts/mina/token/FungibleTokenAdmin.js.map +1 -0
- package/dist/ts/mina/token/api.js.map +1 -0
- package/dist/ts/mina/token/index.js.map +1 -0
- package/dist/ts/mina/token/vk.js.map +1 -0
- package/dist/ts/mina/token/whitelist.js.map +1 -0
- package/dist/ts/mina/transactions/account.js.map +1 -0
- package/dist/ts/mina/transactions/blockberry.js.map +1 -0
- package/dist/ts/mina/transactions/chain.js.map +1 -0
- package/dist/ts/mina/transactions/index.js.map +1 -0
- package/dist/ts/mina/transactions/nonce.js.map +1 -0
- package/dist/ts/mina/transactions/send.js.map +1 -0
- package/dist/ts/mina/transactions/tiny-contract.js.map +1 -0
- package/dist/ts/mina/transactions/transaction.js.map +1 -0
- package/dist/ts/mina/transactions/txstatus.js.map +1 -0
- package/dist/ts/mina/utils/base64.js.map +1 -0
- package/dist/ts/mina/utils/fee.js.map +1 -0
- package/dist/ts/mina/utils/fetch.js.map +1 -0
- package/dist/ts/mina/utils/fields.js.map +1 -0
- package/dist/ts/mina/utils/index.js.map +1 -0
- package/dist/ts/mina/utils/indexed-map.js.map +1 -0
- package/dist/ts/mina/utils/mina.js.map +1 -0
- package/dist/ts/mina/verification/index.js.map +1 -0
- package/dist/ts/mina/verification/verification.js.map +1 -0
- package/dist/tsconfig.web.tsbuildinfo +1 -0
- package/dist/web/cloud/config.js.map +1 -0
- package/dist/web/cloud/index.js.map +1 -0
- package/dist/web/cloud/networks.js.map +1 -0
- package/dist/web/cloud/utils/base64.js.map +1 -0
- package/dist/web/cloud/utils/graphql.js.map +1 -0
- package/dist/web/cloud/utils/index.js.map +1 -0
- package/dist/web/cloud/utils/utils.js.map +1 -0
- package/dist/web/cloud/worker/cloud.js.map +1 -0
- package/dist/web/cloud/worker/index.js.map +1 -0
- package/{lib → dist}/web/cloud/worker/job.js.map +1 -1
- package/{lib → dist}/web/cloud/worker/task.js.map +1 -1
- package/dist/web/cloud/worker/transaction.js.map +1 -0
- package/dist/web/cloud/worker/worker.js.map +1 -0
- package/dist/web/index.js.map +1 -0
- package/dist/web/mina/api/api.js.map +1 -0
- package/dist/web/mina/index.js.map +1 -0
- package/dist/web/mina/local/local.js.map +1 -0
- package/dist/web/mina/storage/index.js.map +1 -0
- package/dist/web/mina/storage/ipfs.js.map +1 -0
- package/dist/web/mina/storage/pinata.js.map +1 -0
- package/dist/web/mina/storage/storage.js.map +1 -0
- package/dist/web/mina/token/FungibleToken.js.map +1 -0
- package/dist/web/mina/token/FungibleTokenAdmin.js.map +1 -0
- package/dist/web/mina/token/api.js.map +1 -0
- package/dist/web/mina/token/index.js.map +1 -0
- package/dist/web/mina/token/vk.js.map +1 -0
- package/dist/web/mina/token/whitelist.js.map +1 -0
- package/dist/web/mina/transactions/account.js.map +1 -0
- package/dist/web/mina/transactions/blockberry.js.map +1 -0
- package/dist/web/mina/transactions/chain.js.map +1 -0
- package/dist/web/mina/transactions/index.js.map +1 -0
- package/dist/web/mina/transactions/nonce.js.map +1 -0
- package/dist/web/mina/transactions/send.js.map +1 -0
- package/dist/web/mina/transactions/tiny-contract.js.map +1 -0
- package/dist/web/mina/transactions/transaction.js.map +1 -0
- package/dist/web/mina/transactions/txstatus.js.map +1 -0
- package/dist/web/mina/utils/base64.js.map +1 -0
- package/dist/web/mina/utils/fee.js.map +1 -0
- package/dist/web/mina/utils/fetch.js.map +1 -0
- package/dist/web/mina/utils/fields.js.map +1 -0
- package/dist/web/mina/utils/index.js.map +1 -0
- package/dist/web/mina/utils/indexed-map.js.map +1 -0
- package/dist/web/mina/utils/mina.js.map +1 -0
- package/dist/web/mina/verification/index.js.map +1 -0
- package/dist/web/mina/verification/verification.js.map +1 -0
- package/package.json +32 -20
- package/src/cloud/config.ts +10 -0
- package/src/cloud/index.ts +4 -0
- package/src/cloud/networks.ts +130 -0
- package/src/cloud/utils/base64.ts +87 -0
- package/src/cloud/utils/graphql.ts +252 -0
- package/src/cloud/utils/index.ts +3 -0
- package/src/cloud/utils/utils.ts +79 -0
- package/src/cloud/worker/cloud.ts +326 -0
- package/src/cloud/worker/index.ts +5 -0
- package/src/cloud/worker/job.ts +123 -0
- package/src/cloud/worker/task.ts +45 -0
- package/src/cloud/worker/transaction.ts +12 -0
- package/src/cloud/worker/worker.ts +62 -0
- package/src/index.ts +2 -0
- package/src/mina/api/api.ts +597 -0
- package/src/mina/index.ts +8 -0
- package/src/mina/local/local.ts +651 -0
- package/src/mina/storage/index.ts +3 -0
- package/src/mina/storage/ipfs.ts +20 -0
- package/src/mina/storage/pinata.ts +52 -0
- package/src/mina/storage/storage.ts +55 -0
- package/src/mina/token/FungibleToken.ts +316 -0
- package/src/mina/token/FungibleTokenAdmin.ts +95 -0
- package/src/mina/token/api.ts +182 -0
- package/src/mina/token/index.ts +5 -0
- package/src/mina/token/vk.ts +42 -0
- package/src/mina/token/whitelist.ts +178 -0
- package/src/mina/transactions/account.ts +57 -0
- package/src/mina/transactions/blockberry.ts +166 -0
- package/src/mina/transactions/chain.ts +1 -0
- package/src/mina/transactions/index.ts +8 -0
- package/src/mina/transactions/nonce.ts +120 -0
- package/src/mina/transactions/send.ts +186 -0
- package/src/mina/transactions/tiny-contract.ts +9 -0
- package/src/mina/transactions/transaction.ts +255 -0
- package/src/mina/transactions/txstatus.ts +26 -0
- package/src/mina/utils/base64.ts +34 -0
- package/src/mina/utils/fee.ts +11 -0
- package/src/mina/utils/fetch.ts +126 -0
- package/src/mina/utils/fields.ts +39 -0
- package/src/mina/utils/index.ts +6 -0
- package/src/mina/utils/indexed-map.ts +169 -0
- package/src/mina/utils/mina.ts +175 -0
- package/src/mina/verification/index.ts +1 -0
- package/src/mina/verification/verification.ts +23 -0
- package/lib/ts/cloud/config.js.map +0 -1
- package/lib/ts/cloud/index.js.map +0 -1
- package/lib/ts/cloud/networks.js.map +0 -1
- package/lib/ts/cloud/utils/base64.js.map +0 -1
- package/lib/ts/cloud/utils/graphql.js.map +0 -1
- package/lib/ts/cloud/utils/index.js.map +0 -1
- package/lib/ts/cloud/utils/utils.js.map +0 -1
- package/lib/ts/cloud/worker/cloud.js.map +0 -1
- package/lib/ts/cloud/worker/index.js.map +0 -1
- package/lib/ts/cloud/worker/transaction.js.map +0 -1
- package/lib/ts/cloud/worker/worker.js.map +0 -1
- package/lib/ts/index.js.map +0 -1
- package/lib/ts/mina/api/api.js.map +0 -1
- package/lib/ts/mina/index.js.map +0 -1
- package/lib/ts/mina/local/local.js.map +0 -1
- package/lib/ts/mina/storage/index.js.map +0 -1
- package/lib/ts/mina/storage/ipfs.js.map +0 -1
- package/lib/ts/mina/storage/pinata.js.map +0 -1
- package/lib/ts/mina/storage/storage.js.map +0 -1
- package/lib/ts/mina/token/FungibleToken.js.map +0 -1
- package/lib/ts/mina/token/FungibleTokenAdmin.js.map +0 -1
- package/lib/ts/mina/token/api.js.map +0 -1
- package/lib/ts/mina/token/index.js.map +0 -1
- package/lib/ts/mina/token/vk.js.map +0 -1
- package/lib/ts/mina/token/whitelist.js.map +0 -1
- package/lib/ts/mina/transactions/account.js.map +0 -1
- package/lib/ts/mina/transactions/blockberry.js.map +0 -1
- package/lib/ts/mina/transactions/chain.js.map +0 -1
- package/lib/ts/mina/transactions/index.js.map +0 -1
- package/lib/ts/mina/transactions/nonce.js.map +0 -1
- package/lib/ts/mina/transactions/send.js.map +0 -1
- package/lib/ts/mina/transactions/tiny-contract.js.map +0 -1
- package/lib/ts/mina/transactions/transaction.js.map +0 -1
- package/lib/ts/mina/transactions/txstatus.js.map +0 -1
- package/lib/ts/mina/utils/base64.js.map +0 -1
- package/lib/ts/mina/utils/fee.js.map +0 -1
- package/lib/ts/mina/utils/fetch.js.map +0 -1
- package/lib/ts/mina/utils/fields.js.map +0 -1
- package/lib/ts/mina/utils/index.js.map +0 -1
- package/lib/ts/mina/utils/indexed-map.js.map +0 -1
- package/lib/ts/mina/utils/mina.js.map +0 -1
- package/lib/ts/mina/verification/index.js.map +0 -1
- package/lib/ts/mina/verification/verification.js.map +0 -1
- package/lib/tsconfig.web.tsbuildinfo +0 -1
- package/lib/web/cloud/config.js.map +0 -1
- package/lib/web/cloud/index.js.map +0 -1
- package/lib/web/cloud/networks.js.map +0 -1
- package/lib/web/cloud/utils/base64.js.map +0 -1
- package/lib/web/cloud/utils/graphql.js.map +0 -1
- package/lib/web/cloud/utils/index.js.map +0 -1
- package/lib/web/cloud/utils/utils.js.map +0 -1
- package/lib/web/cloud/worker/cloud.js.map +0 -1
- package/lib/web/cloud/worker/index.js.map +0 -1
- package/lib/web/cloud/worker/transaction.js.map +0 -1
- package/lib/web/cloud/worker/worker.js.map +0 -1
- package/lib/web/index.js.map +0 -1
- package/lib/web/mina/api/api.js.map +0 -1
- package/lib/web/mina/index.js.map +0 -1
- package/lib/web/mina/local/local.js.map +0 -1
- package/lib/web/mina/storage/index.js.map +0 -1
- package/lib/web/mina/storage/ipfs.js.map +0 -1
- package/lib/web/mina/storage/pinata.js.map +0 -1
- package/lib/web/mina/storage/storage.js.map +0 -1
- package/lib/web/mina/token/FungibleToken.js.map +0 -1
- package/lib/web/mina/token/FungibleTokenAdmin.js.map +0 -1
- package/lib/web/mina/token/api.js.map +0 -1
- package/lib/web/mina/token/index.js.map +0 -1
- package/lib/web/mina/token/vk.js.map +0 -1
- package/lib/web/mina/token/whitelist.js.map +0 -1
- package/lib/web/mina/transactions/account.js.map +0 -1
- package/lib/web/mina/transactions/blockberry.js.map +0 -1
- package/lib/web/mina/transactions/chain.js.map +0 -1
- package/lib/web/mina/transactions/index.js.map +0 -1
- package/lib/web/mina/transactions/nonce.js.map +0 -1
- package/lib/web/mina/transactions/send.js.map +0 -1
- package/lib/web/mina/transactions/tiny-contract.js.map +0 -1
- package/lib/web/mina/transactions/transaction.js.map +0 -1
- package/lib/web/mina/transactions/txstatus.js.map +0 -1
- package/lib/web/mina/utils/base64.js.map +0 -1
- package/lib/web/mina/utils/fee.js.map +0 -1
- package/lib/web/mina/utils/fetch.js.map +0 -1
- package/lib/web/mina/utils/fields.js.map +0 -1
- package/lib/web/mina/utils/index.js.map +0 -1
- package/lib/web/mina/utils/indexed-map.js.map +0 -1
- package/lib/web/mina/utils/mina.js.map +0 -1
- package/lib/web/mina/verification/index.js.map +0 -1
- package/lib/web/mina/verification/verification.js.map +0 -1
- /package/{lib → dist}/ts/cloud/config.d.ts +0 -0
- /package/{lib → dist}/ts/cloud/config.js +0 -0
- /package/{lib → dist}/ts/cloud/index.d.ts +0 -0
- /package/{lib → dist}/ts/cloud/index.js +0 -0
- /package/{lib → dist}/ts/cloud/networks.d.ts +0 -0
- /package/{lib → dist}/ts/cloud/networks.js +0 -0
- /package/{lib → dist}/ts/cloud/utils/base64.d.ts +0 -0
- /package/{lib → dist}/ts/cloud/utils/base64.js +0 -0
- /package/{lib → dist}/ts/cloud/utils/graphql.d.ts +0 -0
- /package/{lib → dist}/ts/cloud/utils/graphql.js +0 -0
- /package/{lib → dist}/ts/cloud/utils/index.d.ts +0 -0
- /package/{lib → dist}/ts/cloud/utils/index.js +0 -0
- /package/{lib → dist}/ts/cloud/utils/utils.d.ts +0 -0
- /package/{lib → dist}/ts/cloud/utils/utils.js +0 -0
- /package/{lib → dist}/ts/cloud/worker/cloud.d.ts +0 -0
- /package/{lib → dist}/ts/cloud/worker/cloud.js +0 -0
- /package/{lib → dist}/ts/cloud/worker/index.d.ts +0 -0
- /package/{lib → dist}/ts/cloud/worker/index.js +0 -0
- /package/{lib → dist}/ts/cloud/worker/job.d.ts +0 -0
- /package/{lib → dist}/ts/cloud/worker/job.js +0 -0
- /package/{lib → dist}/ts/cloud/worker/task.d.ts +0 -0
- /package/{lib → dist}/ts/cloud/worker/task.js +0 -0
- /package/{lib → dist}/ts/cloud/worker/transaction.d.ts +0 -0
- /package/{lib → dist}/ts/cloud/worker/transaction.js +0 -0
- /package/{lib → dist}/ts/cloud/worker/worker.d.ts +0 -0
- /package/{lib → dist}/ts/cloud/worker/worker.js +0 -0
- /package/{lib → dist}/ts/index.d.ts +0 -0
- /package/{lib → dist}/ts/index.js +0 -0
- /package/{lib → dist}/ts/mina/api/api.d.ts +0 -0
- /package/{lib → dist}/ts/mina/api/api.js +0 -0
- /package/{lib → dist}/ts/mina/index.d.ts +0 -0
- /package/{lib → dist}/ts/mina/index.js +0 -0
- /package/{lib → dist}/ts/mina/local/local.d.ts +0 -0
- /package/{lib → dist}/ts/mina/local/local.js +0 -0
- /package/{lib → dist}/ts/mina/storage/index.d.ts +0 -0
- /package/{lib → dist}/ts/mina/storage/index.js +0 -0
- /package/{lib → dist}/ts/mina/storage/ipfs.d.ts +0 -0
- /package/{lib → dist}/ts/mina/storage/ipfs.js +0 -0
- /package/{lib → dist}/ts/mina/storage/pinata.d.ts +0 -0
- /package/{lib → dist}/ts/mina/storage/pinata.js +0 -0
- /package/{lib → dist}/ts/mina/storage/storage.d.ts +0 -0
- /package/{lib → dist}/ts/mina/storage/storage.js +0 -0
- /package/{lib → dist}/ts/mina/token/FungibleToken.d.ts +0 -0
- /package/{lib → dist}/ts/mina/token/FungibleToken.js +0 -0
- /package/{lib → dist}/ts/mina/token/FungibleTokenAdmin.d.ts +0 -0
- /package/{lib → dist}/ts/mina/token/FungibleTokenAdmin.js +0 -0
- /package/{lib → dist}/ts/mina/token/api.d.ts +0 -0
- /package/{lib → dist}/ts/mina/token/api.js +0 -0
- /package/{lib → dist}/ts/mina/token/index.d.ts +0 -0
- /package/{lib → dist}/ts/mina/token/index.js +0 -0
- /package/{lib → dist}/ts/mina/token/vk.d.ts +0 -0
- /package/{lib → dist}/ts/mina/token/vk.js +0 -0
- /package/{lib → dist}/ts/mina/token/whitelist.d.ts +0 -0
- /package/{lib → dist}/ts/mina/token/whitelist.js +0 -0
- /package/{lib → dist}/ts/mina/transactions/account.d.ts +0 -0
- /package/{lib → dist}/ts/mina/transactions/account.js +0 -0
- /package/{lib → dist}/ts/mina/transactions/blockberry.d.ts +0 -0
- /package/{lib → dist}/ts/mina/transactions/blockberry.js +0 -0
- /package/{lib → dist}/ts/mina/transactions/chain.d.ts +0 -0
- /package/{lib → dist}/ts/mina/transactions/chain.js +0 -0
- /package/{lib → dist}/ts/mina/transactions/index.d.ts +0 -0
- /package/{lib → dist}/ts/mina/transactions/index.js +0 -0
- /package/{lib → dist}/ts/mina/transactions/nonce.d.ts +0 -0
- /package/{lib → dist}/ts/mina/transactions/nonce.js +0 -0
- /package/{lib → dist}/ts/mina/transactions/send.d.ts +0 -0
- /package/{lib → dist}/ts/mina/transactions/send.js +0 -0
- /package/{lib → dist}/ts/mina/transactions/tiny-contract.d.ts +0 -0
- /package/{lib → dist}/ts/mina/transactions/tiny-contract.js +0 -0
- /package/{lib → dist}/ts/mina/transactions/transaction.d.ts +0 -0
- /package/{lib → dist}/ts/mina/transactions/transaction.js +0 -0
- /package/{lib → dist}/ts/mina/transactions/txstatus.d.ts +0 -0
- /package/{lib → dist}/ts/mina/transactions/txstatus.js +0 -0
- /package/{lib → dist}/ts/mina/utils/base64.d.ts +0 -0
- /package/{lib → dist}/ts/mina/utils/base64.js +0 -0
- /package/{lib → dist}/ts/mina/utils/fee.d.ts +0 -0
- /package/{lib → dist}/ts/mina/utils/fee.js +0 -0
- /package/{lib → dist}/ts/mina/utils/fetch.d.ts +0 -0
- /package/{lib → dist}/ts/mina/utils/fetch.js +0 -0
- /package/{lib → dist}/ts/mina/utils/fields.d.ts +0 -0
- /package/{lib → dist}/ts/mina/utils/fields.js +0 -0
- /package/{lib → dist}/ts/mina/utils/index.d.ts +0 -0
- /package/{lib → dist}/ts/mina/utils/index.js +0 -0
- /package/{lib → dist}/ts/mina/utils/indexed-map.d.ts +0 -0
- /package/{lib → dist}/ts/mina/utils/indexed-map.js +0 -0
- /package/{lib → dist}/ts/mina/utils/mina.d.ts +0 -0
- /package/{lib → dist}/ts/mina/utils/mina.js +0 -0
- /package/{lib → dist}/ts/mina/verification/index.d.ts +0 -0
- /package/{lib → dist}/ts/mina/verification/index.js +0 -0
- /package/{lib → dist}/ts/mina/verification/verification.d.ts +0 -0
- /package/{lib → dist}/ts/mina/verification/verification.js +0 -0
- /package/{lib → dist}/web/cloud/config.d.ts +0 -0
- /package/{lib → dist}/web/cloud/config.js +0 -0
- /package/{lib → dist}/web/cloud/index.d.ts +0 -0
- /package/{lib → dist}/web/cloud/index.js +0 -0
- /package/{lib → dist}/web/cloud/networks.d.ts +0 -0
- /package/{lib → dist}/web/cloud/networks.js +0 -0
- /package/{lib → dist}/web/cloud/utils/base64.d.ts +0 -0
- /package/{lib → dist}/web/cloud/utils/base64.js +0 -0
- /package/{lib → dist}/web/cloud/utils/graphql.d.ts +0 -0
- /package/{lib → dist}/web/cloud/utils/graphql.js +0 -0
- /package/{lib → dist}/web/cloud/utils/index.d.ts +0 -0
- /package/{lib → dist}/web/cloud/utils/index.js +0 -0
- /package/{lib → dist}/web/cloud/utils/utils.d.ts +0 -0
- /package/{lib → dist}/web/cloud/utils/utils.js +0 -0
- /package/{lib → dist}/web/cloud/worker/cloud.d.ts +0 -0
- /package/{lib → dist}/web/cloud/worker/cloud.js +0 -0
- /package/{lib → dist}/web/cloud/worker/index.d.ts +0 -0
- /package/{lib → dist}/web/cloud/worker/index.js +0 -0
- /package/{lib → dist}/web/cloud/worker/job.d.ts +0 -0
- /package/{lib → dist}/web/cloud/worker/job.js +0 -0
- /package/{lib → dist}/web/cloud/worker/task.d.ts +0 -0
- /package/{lib → dist}/web/cloud/worker/task.js +0 -0
- /package/{lib → dist}/web/cloud/worker/transaction.d.ts +0 -0
- /package/{lib → dist}/web/cloud/worker/transaction.js +0 -0
- /package/{lib → dist}/web/cloud/worker/worker.d.ts +0 -0
- /package/{lib → dist}/web/cloud/worker/worker.js +0 -0
- /package/{lib → dist}/web/index.d.ts +0 -0
- /package/{lib → dist}/web/index.js +0 -0
- /package/{lib → dist}/web/mina/api/api.d.ts +0 -0
- /package/{lib → dist}/web/mina/api/api.js +0 -0
- /package/{lib → dist}/web/mina/index.d.ts +0 -0
- /package/{lib → dist}/web/mina/index.js +0 -0
- /package/{lib → dist}/web/mina/local/local.d.ts +0 -0
- /package/{lib → dist}/web/mina/local/local.js +0 -0
- /package/{lib → dist}/web/mina/storage/index.d.ts +0 -0
- /package/{lib → dist}/web/mina/storage/index.js +0 -0
- /package/{lib → dist}/web/mina/storage/ipfs.d.ts +0 -0
- /package/{lib → dist}/web/mina/storage/ipfs.js +0 -0
- /package/{lib → dist}/web/mina/storage/pinata.d.ts +0 -0
- /package/{lib → dist}/web/mina/storage/pinata.js +0 -0
- /package/{lib → dist}/web/mina/storage/storage.d.ts +0 -0
- /package/{lib → dist}/web/mina/storage/storage.js +0 -0
- /package/{lib → dist}/web/mina/token/FungibleToken.d.ts +0 -0
- /package/{lib → dist}/web/mina/token/FungibleToken.js +0 -0
- /package/{lib → dist}/web/mina/token/FungibleTokenAdmin.d.ts +0 -0
- /package/{lib → dist}/web/mina/token/FungibleTokenAdmin.js +0 -0
- /package/{lib → dist}/web/mina/token/api.d.ts +0 -0
- /package/{lib → dist}/web/mina/token/api.js +0 -0
- /package/{lib → dist}/web/mina/token/index.d.ts +0 -0
- /package/{lib → dist}/web/mina/token/index.js +0 -0
- /package/{lib → dist}/web/mina/token/vk.d.ts +0 -0
- /package/{lib → dist}/web/mina/token/vk.js +0 -0
- /package/{lib → dist}/web/mina/token/whitelist.d.ts +0 -0
- /package/{lib → dist}/web/mina/token/whitelist.js +0 -0
- /package/{lib → dist}/web/mina/transactions/account.d.ts +0 -0
- /package/{lib → dist}/web/mina/transactions/account.js +0 -0
- /package/{lib → dist}/web/mina/transactions/blockberry.d.ts +0 -0
- /package/{lib → dist}/web/mina/transactions/blockberry.js +0 -0
- /package/{lib → dist}/web/mina/transactions/chain.d.ts +0 -0
- /package/{lib → dist}/web/mina/transactions/chain.js +0 -0
- /package/{lib → dist}/web/mina/transactions/index.d.ts +0 -0
- /package/{lib → dist}/web/mina/transactions/index.js +0 -0
- /package/{lib → dist}/web/mina/transactions/nonce.d.ts +0 -0
- /package/{lib → dist}/web/mina/transactions/nonce.js +0 -0
- /package/{lib → dist}/web/mina/transactions/send.d.ts +0 -0
- /package/{lib → dist}/web/mina/transactions/send.js +0 -0
- /package/{lib → dist}/web/mina/transactions/tiny-contract.d.ts +0 -0
- /package/{lib → dist}/web/mina/transactions/tiny-contract.js +0 -0
- /package/{lib → dist}/web/mina/transactions/transaction.d.ts +0 -0
- /package/{lib → dist}/web/mina/transactions/transaction.js +0 -0
- /package/{lib → dist}/web/mina/transactions/txstatus.d.ts +0 -0
- /package/{lib → dist}/web/mina/transactions/txstatus.js +0 -0
- /package/{lib → dist}/web/mina/utils/base64.d.ts +0 -0
- /package/{lib → dist}/web/mina/utils/base64.js +0 -0
- /package/{lib → dist}/web/mina/utils/fee.d.ts +0 -0
- /package/{lib → dist}/web/mina/utils/fee.js +0 -0
- /package/{lib → dist}/web/mina/utils/fetch.d.ts +0 -0
- /package/{lib → dist}/web/mina/utils/fetch.js +0 -0
- /package/{lib → dist}/web/mina/utils/fields.d.ts +0 -0
- /package/{lib → dist}/web/mina/utils/fields.js +0 -0
- /package/{lib → dist}/web/mina/utils/index.d.ts +0 -0
- /package/{lib → dist}/web/mina/utils/index.js +0 -0
- /package/{lib → dist}/web/mina/utils/indexed-map.d.ts +0 -0
- /package/{lib → dist}/web/mina/utils/indexed-map.js +0 -0
- /package/{lib → dist}/web/mina/utils/mina.d.ts +0 -0
- /package/{lib → dist}/web/mina/utils/mina.js +0 -0
- /package/{lib → dist}/web/mina/verification/index.d.ts +0 -0
- /package/{lib → dist}/web/mina/verification/index.js +0 -0
- /package/{lib → dist}/web/mina/verification/verification.d.ts +0 -0
- /package/{lib → dist}/web/mina/verification/verification.js +0 -0
@@ -0,0 +1,42 @@
|
|
1
|
+
export const fungibleTokenVerificationKeys = {
|
2
|
+
testnet: {
|
3
|
+
admin: {
|
4
|
+
hash: "15958550144671703080408884627087990244648824766878280780120011347457437134053",
|
5
|
+
data: "AABvj1TjS95sAoY8puZRG2h4hxjs9c5enwfo4vZAQC/COWHgEjNupRIxb3LVxaRU2mkaG94By4OqrJ3M7YXNs4oiAhMdOuU5+NrHN3RCJtswX+WPvwaHJnihtSy2FcJPyghvBVTi2i7dtWIPQLVDIzC5ARu8f8H9JWjzjVVYE/rQLruuq2qUsCrqdVsdRaw+6OjIFeAXS6mzvrVv5iYGslg5CV5mgLBg3xC408jZJ0pe8ua2mcIEDMGEdSR/+VuhPQaqxZTJPBVhazVc1P9gRyS26SdOohL85UmEc4duqlJOOlXOFuwOT6dvoiUcdQtzuPp1pzA/LHueqm9yQG9mlT0Df8uY/A+rwM4l/ypTP/o0+5GCM9jJf9bl/z0DpGWheCJY+LZbIGeBUOpg0Gx1+KZsD9ivWJ0vxNz8zKcAS1i3FqFhahkJHiiKgikn6Qig5+Yf3MJs0WKSNkCkgW2B48srVTR9ykLyO+68NiWLEnLXvJd+r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lVBOBF14jHQCCUl6u7uiWCe1z4/bC5wQXPwWSljp8NVU8Erp1U9ModNK7W63Pkh0efvgSD5d0nLzbfa0jTdxZ1JkfKsnvYk43Ed+vmXooHZhUeZAIX8ZCizhb1Gfvm02JFwxYXmiYAOp5wkGzweU2I5zo8r5yZFI1r4XibNQs7eAfKGRv3gh8/EuLkX/bdettgPvNsI8ndpQ3kL/V8W2PQN4/hjC9AKCYBeXQG42bRncYZdLe++R2KA1ZdPDxQPF3sxUIKhzmRWqbozrtv310Maorwv6eZJjldlCJwICR9QgcDwDuNj+UFJnX3RWsdIWsUbI1T4wO0sE2sBiMX/OqmiGJEAnBegioistlFyfRvm54h+duNOl/ol1Fva7NoXvsL/wThAWUly7bnc7/Al2bBQlUrmEX46UnKXzYntkZDee7Lx1u1BBkJAj/5BH1YZOPmMCh498rBUiHmc+4uQqebqNSHdOSgC39ESss4u7GNhWj3fi9XXta6UT9wapEMGq0WTg2Kry6xNP2YZ5X8eaapRQc/KzYgz9XjQL6TKpqNuGEbRlmfYvIuoFbnOkZI7RYoGp3YheMs1pQErwOxLzZa9W3Okwx16TSDwPLR0xMdAyogMrOdKN4JSMyNnmOaoVf6PkN+K9fz7RuHtvgjKpuz4vsK5Z2wRneqPrnfu6PkgHcRQrd0SxqCbN23Z/yp8qOcN6XU49iCNEBjztT00tolQ9hCPMSE/eTZ+ioez7m3pJFVks3T5Rk/e+6MeowJWIOv20x6CPS9mhpr1JPwdNFrWdgs19VsobntCpF/rWxksdrYyk=",
|
6
|
+
},
|
7
|
+
token: {
|
8
|
+
hash: "22278758441605771858700252645311428360030262698072838723799702480887091310093",
|
9
|
+
data: "AABoR9W/JCk+QV7xmR0EmMunepTBYRNFuyTe3jy0YL4FPMZvsY3S7Erek8aQc6iEbg0gx8yQZuX7/I9abchc2AM3/JhaHwmIVJYlvR+hIhruFPB3wgxMNv0w0gKKcrMUjwumIsjP5rBKR/iI66NePvgPuC29OEcvCy1WA7VGa4jkJdudep82RUdWGRWK2+T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uBPXr2ZB/nTdtCi9lDQQESzBmgJaV/KCZOAaIKQR9hibvy4vt3wlSZ9XTK+FFZPQc=",
|
10
|
+
},
|
11
|
+
},
|
12
|
+
mainnet: {
|
13
|
+
admin: {
|
14
|
+
hash: "25901604630376752069358432490423434073212977760589721765585739320126139736123",
|
15
|
+
data: "AABvj1TjS95sAoY8puZRG2h4hxjs9c5enwfo4vZAQC/COWHgEjNupRIxb3LVxaRU2mkaG94By4OqrJ3M7YXNs4oiAhMdOuU5+NrHN3RCJtswX+WPvwaHJnihtSy2FcJPyghvBVTi2i7dtWIPQLVDIzC5ARu8f8H9JWjzjVVYE/rQLruuq2qUsCrqdVsdRaw+6OjIFeAXS6mzvrVv5iYGslg5CV5mgLBg3xC408jZJ0pe8ua2mcIEDMGEdSR/+VuhPQaqxZTJPBVhazVc1P9gRyS26SdOohL85UmEc4duqlJOOlXOFuwOT6dvoiUcdQtzuPp1pzA/LHueqm9yQG9mlT0Df8uY/A+rwM4l/ypTP/o0+5GCM9jJf9bl/z0DpGWheCJY+LZbIGeBUOpg0Gx1+KZsD9ivWJ0vxNz8zKcAS1i3FqFhahkJHiiKgikn6Qig5+Yf3MJs0WKSNkCkgW2B48srVTR9ykLyO+68NiWLEnLXvJd+rmUHR4K92whqctZZ8zvd2+5u+b62pkvFqqZZ9r24SMQOe9Bl2ZfMew2DyFLMPzwTowHw8onMEXcVKabFs9zQVp66AMf/wlipirNztdguAP2Hmpi/swGffC3cXDOY7T51PcPNIq+JcNbtKixzm7oIFyZ0FUgAhg5L7sDAkgRAXnQlKGuhGr24T+lV1YAdTheSiQ4YBcpnqpfVYnYG5iziTEdl5+3SENlC7E6MhR2PDoc/TmMvbEHnhNlo6tskqcmEUBQj+At5EO2NmogFDJIN6sRfrXOdH5l+QV7vR2v385RKRtfnmcJeUQcpq5/JTgVwagDJ/FarTN5jFsrBBRTeW3yZ5/CfVNA7NNWxoKhjBaHVIhn/fLT5sFLYzYdCx/uTsusyZmE2d6iqnLS+j1IX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mEX46UnKXzYntkZDee7Lx1u1BBkJAj/5BH1YZOPmMCh498rBUiHmc+4uQqebqNSHdOSgC39ESss4u7GNhWj3fi9XXta6UT9wapEMGq0WTg2Kry6xNP2YZ5X8eaapRQc/KzYgz9XjQL6TKpqNuGEbRlmfYvIuoFbnOkZI7RYoGp3YheMs1pQErwOxLzZa9W3Okwx16TSDwPLR0xMdAyogMrOdKN4JSMyNnmOaoVf6PkN+K9fz7RuHtvgjKpuz4vsK5Z2wRneqPrnfu6PkgHcRQrd0SxqCbN23Z/yp8qOcN6XU49iCNEBjztT00tolQ9hCPMSE/eTZ+ioez7m3pJFVks3T5Rk/e+6MeowJWIOv20x6CPS9mhpr1JPwdNFrWdgs19VsobntCpF/rWxksdrYyk=",
|
16
|
+
},
|
17
|
+
token: {
|
18
|
+
hash: "27787098481477206239805523694633411816874383698563160451006881053714904356680",
|
19
|
+
data: "AABoR9W/JCk+QV7xmR0EmMunepTBYRNFuyTe3jy0YL4FPMZvsY3S7Erek8aQc6iEbg0gx8yQZuX7/I9abchc2AM3/JhaHwmIVJYlvR+hIhruFPB3wgxMNv0w0gKKcrMUjwumIsjP5rBKR/iI66NePvgPuC29OEcvCy1WA7VGa4jkJdudep82RUdWGRWK2+TESBdYTcmhDVuKl71sFjmOdRsHPuHz9tgXl+pkmjmsRFUu0NL0uf7+4UZZ3qwo5JDu+CK6Ec77HZQNWTxobryIa5NH8CwGRTykkaJMUmjbfWiFPCUHzvcqpOIDa/P0WVqqmkAksmXroqqmKGk7zQBN+Ak0GHEPqQDSJIQv98Wm/EluR3MtPMixUI0OSCdbCe++KR4gIKwvRX+AyBCIcMUEuQ7CN4TcDQmD4dsnU3Ywu2cTLCmf1z6el9AHdoTNg5kHvhrxJtV5O5sUnQEW+LPdxSMkxmO3ao9cj4Pdjpf//o1wVN9GR9uyGgj7JxOzi0e1HC2DWmTr5hsWR+J7Pz5rAY5jv5xAcpzUgdqRLr+0Z5wQBovJXign+HwE1cLbTGjZjc2WzRyDEA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1kWY1ZKYoC3FtfenG9e8haWYXUyk1783IQJ4W1jkscQTU1RZrL0cWoaCxIXnXsdDJStgz8B9EQ0uUEkfXSXYEbQtIA4DVKzTO4uqxOzafqAOLnvOxi5Vn95JCOu3CEAFr0WQEOnA2X3nw31spFvLj0jykGpn1ECHhW4Ft9EOkHDr4qDA8Mi5gH9EB+g0AhObwxj7RZB2Wq5PSmZw131mkHzgYOgD3JC9tlaGMSxesjF1O3+U3wUOLrrU89s128Y0PpiEzO6Jsm1aDzbF1pkz3asy0z+Enb4BMg/Jv5j/EZkKM6Okv746/ETIs69fv3e5Iucae7lyyYVNCYBtucWrOQK2Pfi4QzRZjkC29hj8OenHSn+75qcX/v5ejhSBAb24Bp1INNVgaF3VHGz1+ULEcs73b/b0K1AQJYfdkfD4fqrj1nUIlVYv3yw1SyEKClpoiBaLiRxg/04rgb3enmxe6msVApSIlAYs+qeRAIRDCU+ZensV1x4sS4VCjQgoPlo9sV7wJDUOTsUkgux38w39sqiSfONzmyhfXqZocojTv1m3vHh8gnCFUbZ/d3WvywDE67VPRlTYX5ZR80Yyjz3byDH2/+DWOsjv2q8KUv2mtgkiOTZ1D3tAF6Vl6tSWlixMYc1tfC8KDWDOq2eg7M72MqjfiMTuBPXr2ZB/nTdtCi9lDQQESzBmgJaV/KCZOAaIKQR9hibvy4vt3wlSZ9XTK+FFZPQc=",
|
20
|
+
},
|
21
|
+
},
|
22
|
+
testnet_v1: {
|
23
|
+
admin: {
|
24
|
+
hash: "1200635497217107248831982322269320244173535715339356861513501242012238077174",
|
25
|
+
data: "AABvj1TjS95sAoY8puZRG2h4hxjs9c5enwfo4vZAQC/COWHgEjNupRIxb3LVxaRU2mkaG94By4OqrJ3M7YXNs4oiAhMdOuU5+NrHN3RCJtswX+WPvwaHJnihtSy2FcJPyghvBVTi2i7dtWIPQLVDIzC5ARu8f8H9JWjzjVVYE/rQLruuq2qUsCrqdVsdRaw+6OjIFeAXS6mzvrVv5iYGslg5CV5mgLBg3xC408jZJ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rYyk=",
|
26
|
+
},
|
27
|
+
token: {
|
28
|
+
hash: "25084457276132306637089336910977939820654927814172888515895248592725736067489",
|
29
|
+
data: "AABoR9W/JCk+QV7xmR0EmMunepTBYRNFuyTe3jy0YL4FPMZvsY3S7Erek8aQc6iEbg0gx8yQZuX7/I9abchc2AM3/JhaHwmIVJYlvR+hIhruFPB3wgxMNv0w0gKKcrMUjwumIsjP5rBKR/iI66NePvgPuC29OEcvCy1WA7VGa4jkJdudep82RUdWGRWK2+TESBdYTcmhDVuKl71sFjmOdRsHPuHz9tgXl+pkmjmsRFUu0NL0uf7+4UZZ3qwo5JDu+CK6Ec77HZQNWTxobryIa5NH8CwGRTykkaJMUmjbfWiFPCUHzvcqpOIDa/P0WVqqmkAksmXroqqmKGk7zQBN+Ak0GHEPqQDSJIQv98Wm/EluR3MtPMixUI0OSCdbCe++KR4gIKwvRX+AyBCIcMUEuQ7CN4TcDQmD4dsnU3Ywu2cTLCmf1z6el9AHdoTNg5kHvhrxJtV5O5sUnQEW+LPdxSMkxmO3ao9cj4Pdjpf//o1wVN9GR9uyGgj7JxOzi0e1HC2DWmTr5hsWR+J7Pz5rAY5jv5xAcpzUgdqRLr+0Z5wQBovJXign+HwE1cLbTGjZjc2WzRyDEAUfk+VvpE9GcgUdAGxdMh8pRk2c3gIyZAR50aD7krfuev7xNcosFvHDLxoQT4kMIbvQCEm5Y1b4naLNO4venPN+UPSplqeglngyVg6hL95iMJSSJp15EYPASeiSRhU71xGX0Ga6ZJUBPmwuN43AhoCb5DcuShlhi7CwjficYrtDo1u7ZpmnWP0tbaE1u3Cmua8TUIWLHYL9CoBo2HEP5858I/xbZpseBTXbUhQOgdQSqCj0ai5ibbIEWlzyeVctufQRm6pK4OGSnZvSP+km8zpVR15SVLkkzPAtmtpJ28bSInD1sm++/MMMz30+xP+7XMk6yCnAKS7Ryh+7LqDgPK2C3fPDaPe38v1PXDUseFa60FhJTq5ztwNXhVtkUUgBMObzMAH3yCYnFj41JvRuR9diVD4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F3VHGz1+ULEcs73b/b0K1AQJYfdkfD4fqrj1nUIlVYv3yw1SyEKClpoiBaLiRxg/04rgb3enmxe6msVApSIlAYs+qeRAIRDCU+ZensV1x4sS4VCjQgoPlo9sV7wJDUOTsUkgux38w39sqiSfONzmyhfXqZocojTv1m3vHh8gnCFUbZ/d3WvywDE67VPRlTYX5ZR80Yyjz3byDH2/+DWOsjv2q8KUv2mtgkiOTZ1D3tAF6Vl6tSWlixMYc1tfC8KDWDOq2eg7M72MqjfiMTuBPXr2ZB/nTdtCi9lDQQESzBmgJaV/KCZOAaIKQR9hibvy4vt3wlSZ9XTK+FFZPQc=",
|
30
|
+
},
|
31
|
+
},
|
32
|
+
mainnet_v1: {
|
33
|
+
admin: {
|
34
|
+
hash: "16115269877914581564299853766147447229664556890591132763176560855029019233817",
|
35
|
+
data: "AABvj1TjS95sAoY8puZRG2h4hxjs9c5enwfo4vZAQC/COWHgEjNupRIxb3LVxaRU2mkaG94By4OqrJ3M7YXNs4oiAhMdOuU5+NrHN3RCJtswX+WPvwaHJnihtSy2FcJPyghvBVTi2i7dtWIPQLVDIzC5ARu8f8H9JWjzjVVYE/rQLruuq2qUsCrqdVsdRaw+6OjIFeAXS6mzvrVv5iYGslg5CV5mgLBg3xC408jZJ0pe8ua2mcIEDMGEdSR/+VuhPQaqxZTJPBVhazVc1P9gRyS26SdOohL85UmEc4duqlJOOlXOFuwOT6dvoiUcdQtzuPp1pzA/LHueqm9yQG9mlT0Df8uY/A+rwM4l/ypTP/o0+5GCM9jJf9bl/z0DpGWheCJY+LZbIGeBUOpg0Gx1+KZsD9ivWJ0vxNz8zKcAS1i3FqFhahkJHiiKgikn6Qig5+Yf3MJs0WKSNkCkgW2B48srVTR9ykLyO+68NiWLEnLXvJd+rmUHR4K92whqctZZ8zvd2+5u+b62pkvFqqZZ9r24SMQOe9Bl2ZfMew2DyFLMPzwTowHw8onMEXcVKabFs9zQVp66AMf/wlipirNztdguAP2Hmpi/swGffC3cXDOY7T51PcPN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XmiYAOp5wkGzweU2I5zo8r5yZFI1r4XibNQs7eAfKGRv3gh8/EuLkX/bdettgPvNsI8ndpQ3kL/V8W2PQN4/hjC9AKCYBeXQG42bRncYZdLe++R2KA1ZdPDxQPF3sxUIKhzmRWqbozrtv310Maorwv6eZJjldlCJwICR9QgcDwDuNj+UFJnX3RWsdIWsUbI1T4wO0sE2sBiMX/OqmiGJEAnBegioistlFyfRvm54h+duNOl/ol1Fva7NoXvsL/wThAWUly7bnc7/Al2bBQlUrmEX46UnKXzYntkZDee7Lx1u1BBkJAj/5BH1YZOPmMCh498rBUiHmc+4uQqebqNSHdOSgC39ESss4u7GNhWj3fi9XXta6UT9wapEMGq0WTg2Kry6xNP2YZ5X8eaapRQc/KzYgz9XjQL6TKpqNuGEbRlmfYvIuoFbnOkZI7RYoGp3YheMs1pQErwOxLzZa9W3Okwx16TSDwPLR0xMdAyogMrOdKN4JSMyNnmOaoVf6PkN+K9fz7RuHtvgjKpuz4vsK5Z2wRneqPrnfu6PkgHcRQrd0SxqCbN23Z/yp8qOcN6XU49iCNEBjztT00tolQ9hCPMSE/eTZ+ioez7m3pJFVks3T5Rk/e+6MeowJWIOv20x6CPS9mhpr1JPwdNFrWdgs19VsobntCpF/rWxksdrYyk=",
|
36
|
+
},
|
37
|
+
token: {
|
38
|
+
hash: "12320223354843720065815824451082596238990220882343256724550451075683722289248",
|
39
|
+
data: "AABoR9W/JCk+QV7xmR0EmMunepTBYRNFuyTe3jy0YL4FPMZvsY3S7Erek8aQc6iEbg0gx8yQZuX7/I9abchc2AM3/JhaHwmIVJYlvR+hIhruFPB3wgxMNv0w0gKKcrMUjwumIsjP5rBKR/iI66NePvgPuC29OEcvCy1WA7VGa4jkJdudep82RUdWGRWK2+TESBdYTcmhDVuKl71sFjmOdRsHPuHz9tgXl+pkmjmsRFUu0NL0uf7+4UZZ3qwo5JDu+CK6Ec77HZQNWTxobryIa5NH8CwGRTykkaJMUmjbfWiFPCUHzvcqpOIDa/P0WVqqmkAks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
1
|
+
import {
|
2
|
+
Experimental,
|
3
|
+
Struct,
|
4
|
+
Field,
|
5
|
+
Option,
|
6
|
+
Provable,
|
7
|
+
PublicKey,
|
8
|
+
UInt64,
|
9
|
+
Poseidon,
|
10
|
+
Bool,
|
11
|
+
} from "o1js";
|
12
|
+
import {
|
13
|
+
serializeIndexedMap,
|
14
|
+
createIpfsURL,
|
15
|
+
pinJSON,
|
16
|
+
Storage,
|
17
|
+
sleep,
|
18
|
+
loadIndexedMerkleMap,
|
19
|
+
} from "../../index.js";
|
20
|
+
|
21
|
+
const { IndexedMerkleMap } = Experimental;
|
22
|
+
type IndexedMerkleMap = Experimental.IndexedMerkleMap;
|
23
|
+
const WHITELIST_HEIGHT = 20;
|
24
|
+
|
25
|
+
/** Represents the whitelist using an Indexed Merkle Map. */
|
26
|
+
export class WhitelistMap extends IndexedMerkleMap(WHITELIST_HEIGHT) {}
|
27
|
+
export class WhitelistMapOption extends Option(WhitelistMap) {}
|
28
|
+
export class UInt64Option extends Option(UInt64) {}
|
29
|
+
export class WhitelistedAddress extends Struct({
|
30
|
+
address: PublicKey,
|
31
|
+
amount: UInt64, // Maximum permitted amount of the transaction
|
32
|
+
}) {}
|
33
|
+
|
34
|
+
export class Whitelist extends Struct({
|
35
|
+
/** The root hash of the Merkle tree representing the whitelist. */
|
36
|
+
root: Field,
|
37
|
+
/** Off-chain storage information, typically an IPFS hash pointing to the whitelist data. */
|
38
|
+
storage: Storage,
|
39
|
+
}) {
|
40
|
+
isNone(): Bool {
|
41
|
+
return this.root
|
42
|
+
.equals(Field(0))
|
43
|
+
.or(Storage.equals(this.storage, Storage.empty()));
|
44
|
+
}
|
45
|
+
|
46
|
+
isSome(): Bool {
|
47
|
+
return this.isNone().not();
|
48
|
+
}
|
49
|
+
|
50
|
+
async load(): Promise<WhitelistMapOption> {
|
51
|
+
const isNone = this.isNone();
|
52
|
+
const map = await Provable.witnessAsync(WhitelistMapOption, async () => {
|
53
|
+
if (isNone.toBoolean()) return WhitelistMapOption.none();
|
54
|
+
else
|
55
|
+
return WhitelistMapOption.fromValue(
|
56
|
+
await loadIndexedMerkleMap({
|
57
|
+
url: createIpfsURL({ hash: this.storage.toString() }),
|
58
|
+
type: WhitelistMap,
|
59
|
+
})
|
60
|
+
);
|
61
|
+
});
|
62
|
+
isNone.assertEquals(map.isSome.not());
|
63
|
+
const root = Provable.if(
|
64
|
+
map.isSome,
|
65
|
+
map.orElse(new WhitelistMap()).root,
|
66
|
+
Field(0)
|
67
|
+
);
|
68
|
+
root.equals(this.root);
|
69
|
+
return map;
|
70
|
+
}
|
71
|
+
|
72
|
+
/**
|
73
|
+
* The function fetches a whitelisted amount associated with a given address using a map and returns it
|
74
|
+
* as a UInt64Option.
|
75
|
+
* @param {PublicKey} address - The `address` parameter is of type `PublicKey`, which represents a
|
76
|
+
* public key used in cryptography for various purposes such as encryption, digital signatures, and
|
77
|
+
* authentication. In the context of the `fetchWhitelistedAmount` function, the `address` parameter is
|
78
|
+
* used to retrieve a whitelisted amount
|
79
|
+
* @returns The `fetchWhitelistedAmount` function returns a `Promise` that resolves to a `UInt64Option`
|
80
|
+
* object. This object contains a `value` property representing the amount retrieved from a map based
|
81
|
+
* on the provided address. The `isSome` property indicates whether the value is present or not.
|
82
|
+
* The value is not present if the whitelist is NOT empty and the address is NOT whitelisted.
|
83
|
+
* The value is present if the whitelist is NOT empty or the address IS whitelisted.
|
84
|
+
* The value is present and equals to UInt64.MAXINT() if the whitelist IS empty.
|
85
|
+
*/
|
86
|
+
async getWhitelistedAmount(address: PublicKey): Promise<UInt64Option> {
|
87
|
+
const map = await this.load();
|
88
|
+
const key = Poseidon.hashPacked(PublicKey, address);
|
89
|
+
const value = map.orElse(new WhitelistMap()).getOption(key);
|
90
|
+
const valueField = value.orElse(UInt64.MAXINT().value);
|
91
|
+
valueField.assertLessThanOrEqual(UInt64.MAXINT().value);
|
92
|
+
const amount = UInt64.Unsafe.fromField(valueField);
|
93
|
+
return new UInt64Option({
|
94
|
+
value: amount,
|
95
|
+
isSome: value.isSome.or(this.isNone()),
|
96
|
+
});
|
97
|
+
}
|
98
|
+
|
99
|
+
static empty(): Whitelist {
|
100
|
+
return new Whitelist({
|
101
|
+
root: Field(0),
|
102
|
+
storage: Storage.empty(),
|
103
|
+
});
|
104
|
+
}
|
105
|
+
|
106
|
+
/**
|
107
|
+
* Creates a new whitelist and pins it to IPFS.
|
108
|
+
* @param params - The parameters for creating the whitelist.
|
109
|
+
* @returns A new `Whitelist` instance.
|
110
|
+
*/
|
111
|
+
static async create(params: {
|
112
|
+
list: WhitelistedAddress[] | { address: string; amount?: number }[];
|
113
|
+
name?: string;
|
114
|
+
keyvalues?: { key: string; value: string }[];
|
115
|
+
timeout?: number;
|
116
|
+
attempts?: number;
|
117
|
+
auth?: string;
|
118
|
+
}): Promise<Whitelist> {
|
119
|
+
const {
|
120
|
+
name = "whitelist.json",
|
121
|
+
keyvalues = [{ key: "library", value: "zkcloudworker" }],
|
122
|
+
timeout = 60 * 1000,
|
123
|
+
attempts = 5,
|
124
|
+
auth,
|
125
|
+
} = params;
|
126
|
+
const list: WhitelistedAddress[] =
|
127
|
+
typeof params.list[0].address === "string"
|
128
|
+
? (params.list as { address: string; amount?: number }[]).map(
|
129
|
+
(item) =>
|
130
|
+
new WhitelistedAddress({
|
131
|
+
address: PublicKey.fromBase58(item.address),
|
132
|
+
amount: item.amount
|
133
|
+
? UInt64.from(item.amount)
|
134
|
+
: UInt64.MAXINT(),
|
135
|
+
})
|
136
|
+
)
|
137
|
+
: (params.list as WhitelistedAddress[]);
|
138
|
+
const map = new WhitelistMap();
|
139
|
+
for (const item of list) {
|
140
|
+
map.insert(
|
141
|
+
Poseidon.hashPacked(PublicKey, item.address),
|
142
|
+
item.amount.toBigInt()
|
143
|
+
);
|
144
|
+
}
|
145
|
+
const serializedMap = serializeIndexedMap(map);
|
146
|
+
const json = {
|
147
|
+
map: serializedMap,
|
148
|
+
whitelist: list.map((item) => ({
|
149
|
+
address: item.address.toBase58(),
|
150
|
+
amount: Number(item.amount.toBigInt()),
|
151
|
+
})),
|
152
|
+
};
|
153
|
+
let attempt = 0;
|
154
|
+
const start = Date.now();
|
155
|
+
let hash = await pinJSON({
|
156
|
+
data: json,
|
157
|
+
name,
|
158
|
+
keyvalues,
|
159
|
+
auth,
|
160
|
+
});
|
161
|
+
while (!hash && attempt < attempts && Date.now() - start < timeout) {
|
162
|
+
attempt++;
|
163
|
+
await sleep(5000 * attempt); // handle rate-limits
|
164
|
+
hash = await pinJSON({
|
165
|
+
data: json,
|
166
|
+
name,
|
167
|
+
keyvalues,
|
168
|
+
auth,
|
169
|
+
});
|
170
|
+
}
|
171
|
+
if (!hash) throw new Error("Failed to pin whitelist");
|
172
|
+
|
173
|
+
return new Whitelist({
|
174
|
+
root: map.root,
|
175
|
+
storage: Storage.fromString(hash),
|
176
|
+
});
|
177
|
+
}
|
178
|
+
}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
import { fetchMinaAccount } from "../index.js";
|
2
|
+
import { Mina, PublicKey, Field } from "o1js";
|
3
|
+
|
4
|
+
export async function accountExists(
|
5
|
+
address: string | PublicKey,
|
6
|
+
tokenId?: Field
|
7
|
+
): Promise<boolean> {
|
8
|
+
try {
|
9
|
+
const publicKey =
|
10
|
+
typeof address === "string" ? PublicKey.fromBase58(address) : address;
|
11
|
+
await fetchMinaAccount({ publicKey, tokenId, force: false });
|
12
|
+
return Mina.hasAccount(publicKey, tokenId);
|
13
|
+
} catch (error) {
|
14
|
+
return false;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
export async function tokenBalance(
|
19
|
+
address: string | PublicKey,
|
20
|
+
tokenId?: Field
|
21
|
+
): Promise<number | undefined> {
|
22
|
+
try {
|
23
|
+
const publicKey =
|
24
|
+
typeof address === "string" ? PublicKey.fromBase58(address) : address;
|
25
|
+
await fetchMinaAccount({ publicKey, tokenId, force: false });
|
26
|
+
return Mina.hasAccount(publicKey, tokenId)
|
27
|
+
? Number(Mina.getAccount(publicKey, tokenId).balance.toBigInt())
|
28
|
+
: undefined;
|
29
|
+
} catch (error) {
|
30
|
+
console.error("Cannot fetch account balance", error);
|
31
|
+
return undefined;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
export async function checkAddress(
|
36
|
+
address: string | undefined
|
37
|
+
): Promise<boolean> {
|
38
|
+
if (!address || typeof address !== "string") {
|
39
|
+
console.error("checkAddress params are invalid:", address);
|
40
|
+
return false;
|
41
|
+
}
|
42
|
+
try {
|
43
|
+
const publicKey = PublicKey.fromBase58(address);
|
44
|
+
if (address !== publicKey.toBase58()) {
|
45
|
+
console.log(
|
46
|
+
"checkAddress: address is not valid",
|
47
|
+
address,
|
48
|
+
publicKey.toBase58()
|
49
|
+
);
|
50
|
+
return false;
|
51
|
+
}
|
52
|
+
return true;
|
53
|
+
} catch (error) {
|
54
|
+
console.error("checkAddress catch", { address, error });
|
55
|
+
return false;
|
56
|
+
}
|
57
|
+
}
|
@@ -0,0 +1,166 @@
|
|
1
|
+
import { BlockBerryChain } from "./chain.js";
|
2
|
+
|
3
|
+
export async function getZkAppTxsFromBlockBerry(params: {
|
4
|
+
account: string;
|
5
|
+
chain: BlockBerryChain;
|
6
|
+
blockBerryApiKey: string;
|
7
|
+
}): Promise<any> {
|
8
|
+
const { account, chain, blockBerryApiKey } = params;
|
9
|
+
const options = {
|
10
|
+
method: "GET",
|
11
|
+
headers: {
|
12
|
+
accept: "application/json",
|
13
|
+
"x-api-key": blockBerryApiKey,
|
14
|
+
},
|
15
|
+
};
|
16
|
+
try {
|
17
|
+
const response = await fetch(
|
18
|
+
`https://api.blockberry.one/mina-${chain}/v1/zkapps/accounts/${account}/txs?size=10&orderBy=DESC&sortBy=AGE`,
|
19
|
+
options
|
20
|
+
);
|
21
|
+
if (!response.ok) {
|
22
|
+
console.error(
|
23
|
+
"Cannot fetch zkApp txs for account:",
|
24
|
+
account,
|
25
|
+
chain,
|
26
|
+
response.statusText
|
27
|
+
);
|
28
|
+
return undefined;
|
29
|
+
}
|
30
|
+
const result = await response.json();
|
31
|
+
//console.log("zkAppTxs", result);
|
32
|
+
return result;
|
33
|
+
} catch (err) {
|
34
|
+
console.error(
|
35
|
+
"Cannot fetch zkApp txs for account - catch:",
|
36
|
+
account,
|
37
|
+
chain,
|
38
|
+
err
|
39
|
+
);
|
40
|
+
return undefined;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
export async function getPaymentTxsFromBlockBerry(params: {
|
45
|
+
account: string;
|
46
|
+
chain: BlockBerryChain;
|
47
|
+
blockBerryApiKey: string;
|
48
|
+
}): Promise<any> {
|
49
|
+
const { account, chain, blockBerryApiKey } = params;
|
50
|
+
const options = {
|
51
|
+
method: "GET",
|
52
|
+
headers: {
|
53
|
+
accept: "application/json",
|
54
|
+
"x-api-key": blockBerryApiKey,
|
55
|
+
},
|
56
|
+
};
|
57
|
+
|
58
|
+
try {
|
59
|
+
const response = await fetch(
|
60
|
+
`https://api.blockberry.one/mina-${chain}/v1/accounts/` +
|
61
|
+
account +
|
62
|
+
"/txs?page=0&size=1&orderBy=DESC&sortBy=AGE&direction=OUT",
|
63
|
+
options
|
64
|
+
);
|
65
|
+
if (!response.ok) {
|
66
|
+
console.error(
|
67
|
+
"Cannot fetch payment txs for account:",
|
68
|
+
account,
|
69
|
+
chain,
|
70
|
+
response.statusText
|
71
|
+
);
|
72
|
+
return undefined;
|
73
|
+
}
|
74
|
+
const result = await response.json();
|
75
|
+
//console.log("paymentTxs", result);
|
76
|
+
return result;
|
77
|
+
} catch (err) {
|
78
|
+
console.error(
|
79
|
+
"Cannot fetch payment txs for account - catch:",
|
80
|
+
account,
|
81
|
+
chain,
|
82
|
+
err
|
83
|
+
);
|
84
|
+
return undefined;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
export async function getZkAppTxFromBlockBerry(params: {
|
89
|
+
hash: string;
|
90
|
+
chain: BlockBerryChain;
|
91
|
+
blockBerryApiKey: string;
|
92
|
+
}): Promise<any> {
|
93
|
+
const { hash, chain, blockBerryApiKey } = params;
|
94
|
+
const options = {
|
95
|
+
method: "GET",
|
96
|
+
headers: {
|
97
|
+
accept: "application/json",
|
98
|
+
"x-api-key": blockBerryApiKey,
|
99
|
+
},
|
100
|
+
};
|
101
|
+
try {
|
102
|
+
const response = await fetch(
|
103
|
+
`https://api.blockberry.one/mina-${chain}/v1/zkapps/txs/${hash}`,
|
104
|
+
options
|
105
|
+
);
|
106
|
+
if (response.ok) {
|
107
|
+
const result = await response.json();
|
108
|
+
return result;
|
109
|
+
} else {
|
110
|
+
console.error(
|
111
|
+
"getZkAppTxFromBlockBerry error while getting hash - not ok",
|
112
|
+
{ hash, chain, text: response.statusText, status: response.status }
|
113
|
+
);
|
114
|
+
return undefined;
|
115
|
+
}
|
116
|
+
} catch (err) {
|
117
|
+
console.error(
|
118
|
+
"getZkAppTxFromBlockBerry error while getting mainnet hash - catch",
|
119
|
+
hash,
|
120
|
+
chain,
|
121
|
+
err
|
122
|
+
);
|
123
|
+
return undefined;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
|
127
|
+
export async function getZkAppFromBlockBerry(params: {
|
128
|
+
account: string;
|
129
|
+
chain: BlockBerryChain;
|
130
|
+
blockBerryApiKey: string;
|
131
|
+
}): Promise<any> {
|
132
|
+
const { account, chain, blockBerryApiKey } = params;
|
133
|
+
const options = {
|
134
|
+
method: "GET",
|
135
|
+
headers: {
|
136
|
+
accept: "application/json",
|
137
|
+
"x-api-key": blockBerryApiKey,
|
138
|
+
},
|
139
|
+
};
|
140
|
+
try {
|
141
|
+
const response = await fetch(
|
142
|
+
`https://api.blockberry.one/mina-${chain}/v1/zkapps/${account}`,
|
143
|
+
options
|
144
|
+
);
|
145
|
+
if (response.ok) {
|
146
|
+
const result = await response.json();
|
147
|
+
return result;
|
148
|
+
} else {
|
149
|
+
console.error("getZkAppFromBlockBerry error while getting account", {
|
150
|
+
account,
|
151
|
+
chain,
|
152
|
+
text: response.statusText,
|
153
|
+
status: response.status,
|
154
|
+
});
|
155
|
+
return undefined;
|
156
|
+
}
|
157
|
+
} catch (err) {
|
158
|
+
console.error(
|
159
|
+
"getZkAppFromBlockBerry error while getting account - catch",
|
160
|
+
account,
|
161
|
+
chain,
|
162
|
+
err
|
163
|
+
);
|
164
|
+
return undefined;
|
165
|
+
}
|
166
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export type BlockBerryChain = "mainnet" | "devnet";
|
@@ -0,0 +1,120 @@
|
|
1
|
+
import { BlockBerryChain } from "./chain.js";
|
2
|
+
import {
|
3
|
+
getZkAppTxsFromBlockBerry,
|
4
|
+
getPaymentTxsFromBlockBerry,
|
5
|
+
} from "./blockberry.js";
|
6
|
+
import { fetchMinaAccount, getCurrentNetwork } from "../index.js";
|
7
|
+
import { Mina, PublicKey } from "o1js";
|
8
|
+
import { blockchain } from "../../cloud/networks.js";
|
9
|
+
|
10
|
+
export async function getNonce(params: {
|
11
|
+
account: string;
|
12
|
+
chain: BlockBerryChain;
|
13
|
+
blockBerryApiKey: string;
|
14
|
+
}): Promise<{
|
15
|
+
success: boolean;
|
16
|
+
nonce: number;
|
17
|
+
message?: string;
|
18
|
+
}> {
|
19
|
+
const { account, chain, blockBerryApiKey } = params;
|
20
|
+
try {
|
21
|
+
if (account === undefined || account === null || account === "") {
|
22
|
+
return {
|
23
|
+
success: false,
|
24
|
+
nonce: -1,
|
25
|
+
message: "Account is required",
|
26
|
+
};
|
27
|
+
}
|
28
|
+
|
29
|
+
if (
|
30
|
+
blockBerryApiKey === undefined ||
|
31
|
+
blockBerryApiKey === null ||
|
32
|
+
blockBerryApiKey === ""
|
33
|
+
) {
|
34
|
+
return {
|
35
|
+
success: false,
|
36
|
+
nonce: -1,
|
37
|
+
message: "blockBerryApiKey is required",
|
38
|
+
};
|
39
|
+
}
|
40
|
+
const zkAppTxsPromise = getZkAppTxsFromBlockBerry({
|
41
|
+
account,
|
42
|
+
chain,
|
43
|
+
blockBerryApiKey,
|
44
|
+
});
|
45
|
+
const paymentTxs = getPaymentTxsFromBlockBerry({
|
46
|
+
account,
|
47
|
+
chain,
|
48
|
+
blockBerryApiKey,
|
49
|
+
});
|
50
|
+
|
51
|
+
const paymentNonce = (await paymentTxs)?.data[0]?.nonce ?? -1;
|
52
|
+
let zkNonce = -1;
|
53
|
+
let found = false;
|
54
|
+
const zkAppTxs = await zkAppTxsPromise;
|
55
|
+
const size = zkAppTxs?.data?.length ?? 0;
|
56
|
+
let i = 0;
|
57
|
+
while (!found && i < size) {
|
58
|
+
if (zkAppTxs?.data[i]?.proverAddress === account) {
|
59
|
+
zkNonce = zkAppTxs?.data[i]?.nonce;
|
60
|
+
found = true;
|
61
|
+
}
|
62
|
+
i++;
|
63
|
+
}
|
64
|
+
const nonce = Math.max(zkNonce, paymentNonce);
|
65
|
+
|
66
|
+
return {
|
67
|
+
success: true,
|
68
|
+
nonce,
|
69
|
+
};
|
70
|
+
} catch (error) {
|
71
|
+
return {
|
72
|
+
success: false,
|
73
|
+
nonce: -1,
|
74
|
+
message: String(error),
|
75
|
+
};
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
export async function getAccountNonce(params: {
|
80
|
+
account: string;
|
81
|
+
chain?: blockchain;
|
82
|
+
blockBerryApiKey?: string;
|
83
|
+
verbose?: boolean;
|
84
|
+
}): Promise<number> {
|
85
|
+
const {
|
86
|
+
account,
|
87
|
+
chain = getCurrentNetwork().network.chainId,
|
88
|
+
blockBerryApiKey,
|
89
|
+
verbose = true,
|
90
|
+
} = params;
|
91
|
+
const canUseBlockBerry =
|
92
|
+
blockBerryApiKey !== undefined &&
|
93
|
+
(chain === "devnet" || chain === "mainnet");
|
94
|
+
if (chain === "zeko") {
|
95
|
+
const publicKey = PublicKey.fromBase58(account);
|
96
|
+
await fetchMinaAccount({ publicKey });
|
97
|
+
const nonce = Number(Mina.getAccount(publicKey).nonce.toBigint());
|
98
|
+
return nonce;
|
99
|
+
} else {
|
100
|
+
const blockberryNoncePromise = canUseBlockBerry
|
101
|
+
? getNonce({
|
102
|
+
account,
|
103
|
+
blockBerryApiKey,
|
104
|
+
chain,
|
105
|
+
})
|
106
|
+
: undefined;
|
107
|
+
const publicKey = PublicKey.fromBase58(account);
|
108
|
+
await fetchMinaAccount({ publicKey });
|
109
|
+
const senderNonce = Number(Mina.getAccount(publicKey).nonce.toBigint());
|
110
|
+
const blockberryNonce = blockberryNoncePromise
|
111
|
+
? (await blockberryNoncePromise).nonce ?? -1
|
112
|
+
: -1;
|
113
|
+
const nonce = Math.max(senderNonce, blockberryNonce + 1);
|
114
|
+
if (verbose && nonce > senderNonce)
|
115
|
+
console.log(
|
116
|
+
`Nonce changed from ${senderNonce} to ${nonce} for ${account}`
|
117
|
+
);
|
118
|
+
return nonce;
|
119
|
+
}
|
120
|
+
}
|