Code Monkey home page Code Monkey logo

eee-contract's Introduction

eee-contract

VWBL is an on-chain, condition-based, decentralized access control protocol. The VWBL protocol enables the creation of NFTs which only rightful NFT owners can fully access their owned digital content. By utilizing the VWBL protocol, developers can create services to provide blockchain users (NFT creators and digital content consumers) with decentralized encryption functionality.

How to Deploy Your Own VWBL Smart Contract

Install Packages

yarn install

Compile Smart Contract

yarn compile

※Smart contract will be compiled automatically when you depoly it, so you can skip this step if you want

Depoly Smart Contract

  1. Set Env

    set env to ./config/.env.${network_name}

    ※If you want to upload metada to IPFS, you can skip setting metadata url

    VWBL_METADATA_URL="http://xxx.yyy.com/metadata/"
    

    e.g. Amazon cloudfront URL that links to S3 bucket

    DO NOT forget to add /metadata/ to the end of the URL

  2. Run deployment script

    yarn deploy:${network_name}

Run Unit Tests

yarn test

Output Solidity contract sizes with Hardhat.

yarn run hardhat size-contracts

eee-contract's People

Contributors

wildmouse avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.