@gluwa/universal-smart-contract
v0.2.0
Published
The universal smart contract represents the next generation of blockchain technology, designed to enable seamless interoperability between smart contracts and effortless cross-chain asset movement.
Readme
1. Install node package
cd common/eth
npm i1.2 Create .env File
For initial setup, you need to create a .env file in your /eth directory.
You then need to add the following contents:
OWNER_PRIVATE_KEY=your_private_key_here2. Compile smart contracts
npx hardhat compile3. Run script to deploy contracts
Deploy at target network as cc_devnet
npx hardhat deploy --network cc_devnet --proceedsaccount <your-address> --costperbyte 10 --basefee 100 --chainkey 42 --displayname "My Contract" --timeout 300 --lockupduration 86400 --approvalthreshold 1 --maxinstantmint 10 --admin <your-address>