Git Product home page Git Product logo

examples's Introduction

Examples

  • simple-erc20-hardhat - deploying simple ERC20 token contract using Hardhat. This token can 'live' only inside Neon
  • simple-erc20-truffle - deploying simple ERC20 token contract using Truffle. This token can 'live' only inside Neon
  • simple-erc20-brownie - deploying simple ERC20 token contract using python and brownie. This token can 'live' only inside Neon
  • spl-erc20-wrapper - creating SPL token in Solana and deploying ERC20-wrapper contract to interact with SPL token from Neon

Running local environment

Examples uses neon-devnet by default but you can also run your own setup locally for testing and experiments. Install latest docker and docker-compose. Make sure you have the latest version of docker-compose installed. It's v2.6.1 at the time of this update. To install v2.6.1, first remove existing installation of docker-compose:

sudo apt remove docker-compose

then install v2.6.1 wiht the following commands:

sudo curl -L "https://github.com/docker/compose/releases/download/v2.6.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

Then check the version to make sure it is the right one:

docker-compose --version   

you shoud see

Docker Compose version v2.6.1

NOTE local setup is only available on Linux OS-es. Just run from this directory:

docker-compose up -d

All APIs will be available at your localhost by addresses:

Airdropping in local environment

Just execute from this directory:

./drop_neons.sh <target-eth-address>

NOTE Make sure you have curl installed in your system

examples's People

Contributors

aaliani avatar cito-lito avatar gigimon avatar ivandzen avatar kristinanikolaevaa avatar m4sterbunny avatar romanova-natasha avatar stunko avatar sukanyaparashar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

aaliani cito-lito

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.