GithubHelp home page GithubHelp logo

Start With Grin

The Four Agreements:

Be Impeccable With Your Word 
Don't Take Anything Personally
Don't Make Assumptions
Always Do Your Best

Walk Through: Create Local Grin Development Enviroment

This walkthough will create an enviroment for development with grin locally.

Note:

  • chain_type in your grin-wallet.toml and grin-node.toml are set to UserTesting which means that you will run a grin blockchain local to your computer.
  • run_test_miner is set to true to mine coins. If you're interested in mining on floonet or mainnet check out grin-miner.

Download grin binaries

  1. grin
  2. grin-wallet

Extract grin and grin-wallet

Run

./grin --usernet

  • ./chain_data is responsible for housing the blockchain
  • grin-server.log output of the grin process

Open /{{grin-dir}}/grin-server.toml

change run_test_miner from false to true

uncomment test_miner_wallet_url

edit test_miner_wallet_url port to {{grin-wallet.toml}}.owner_api_listen_port

e.g.
#test miner wallet URL (burns if this doesn't exist)
test_miner_wallet_url = "http://127.0.0.1:3420"

Run

./grin-wallet --usernet init

Follow the prompts

  • ./wallet_data wallet information
  • grin-wallet.log output of the grin wallet process
  • .api_secret secret for encrypting traffic between the grin and grin-wallet
  • .owner_api_secret secret for encrypting owner (and foreign) api traffic

Run

./grin-wallet --usernet owner_api --run_foreign

The grin-wallet --usernet --run_foreign owner_api command will start both the owner and foreign api listeners on the owner api port

You can find documentation about the grin-wallet cli and rpc below:

Work Together

Encourage An Ecosystem Of Creativity

gringineer's Projects

docs icon docs

Documentation for Grin and Mimblewimble

spotify-dl icon spotify-dl

use a spotify link to download music from youtube

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.