Skip to content

Wealize/lacchain-pq-permissioning-setup

This branch is 2 commits ahead of lacchain/pq-permissioning-setup:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c6fe0ec · Jan 11, 2024

History

3 Commits
Jan 29, 2021
Jan 11, 2024
Jan 8, 2024
Jan 29, 2021
Jan 29, 2021
Jan 11, 2024
Jan 29, 2021
Jan 29, 2021
Jan 29, 2021
Jan 11, 2024
Jan 11, 2024
Jan 11, 2024

Repository files navigation

Post Quantum permissioning setup

This project uses Truffle to build, deploy and setup permissioning smart contracts for the Post Quantum safe blockchain demostration.

Prerequisites

  • Truffle (i.e. npm install truffle)
  • A Hyperledger Besu network with nodes running the LACChain fork which adds a Falcon-512 verification precompiled contract

Config

You must configure Truffle according your environment, this is done through the truffle-config.js file. E.g.

const HDWalletProvider = require('@truffle/hdwallet-provider');
module.exports = {
  networks: {
    development: {
      host: "127.0.0.1",
      port: 8545,
      network_id: "*",
      gasPrice: 0,
      provider: () => new HDWalletProvider('0x8f2a55949038a9610f50fb23b5883af3b4ecb3c3bb792cbcefbd1542c692be63', 'http://localhost:8545')
    }
  },
  compilers: {
    solc: {
      version: "0.6.5"
    }
  }
};

note: you may need to npm install @truffle/hdwallet-provider for using exactly the provided example

Running

$ npx truffle migrate

About

Post Quantum blockchain permissioning setup

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 53.3%
  • JavaScript 27.7%
  • Dockerfile 19.0%