deploy.js
90ba
Mar 14
import { CodePromise, Abi, ContractPromise } from '@polkadot/api-contract'; import { ApiPromise, WsProvider, Keyring} from '@polkadot/api'; // import .contract file as json string import { json } from "./abi.js" import { mnemonicToMiniSecret, naclKeypairFromSeed, } from "@polkadot/util-crypto"; try { let address; // variable for storing the address of the deployed contract // API creation for connection to the chain const wsProvider = new WsProvider('wss://wss-testnet.5ire.network/'); const a...
ParagraphParagraph

90ba

Written by
90ba

hahahah

Subscribe

2025 Paragraph Technologies Inc

PopularTrendingPrivacyTermsHome
Search...Ctrl+K

90ba

Subscribe