@nilfoundation/smart-contracts
v0.3.0
Published
Nil smart-contracts implementations
Downloads
229
Readme
Table of Contents
Overview
This package contains the smart-contracts implementations of the =nil; network. The smart-contracts are written in Solidity and are used to deploy and interact with the =nil; network.
Installation
To install the package, run the following command:
npm install @nilfoundation/smart-contracts
Usage
To use the package, import the smart-contracts in your project:
import Wallet_compiled from '@nilfoundation/smart-contracts/artifacts/Wallet.json';
const wallet_bytecode = `0x${Wallet_compiled.evm.bytecode.object}`
pragma solidity ^0.8.0;
import "@nilfoundation/smart-contracts/contracts/Wallet.sol";
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgements
This project is supported by the NIL Foundation.