All Projects → hanzoai → Solidity

hanzoai / Solidity

Licence: bsd-3-clause
🔐 Ethereum smart contracts developed for the Hanzo Platform.

Programming Languages

javascript
184084 projects - #8 most used programming language
solidity
1140 projects

Projects that are alternatives of or similar to Solidity

Colonynetwork
Colony Network smart contracts
Stars: ✭ 351 (+663.04%)
Mutual labels:  ethereum, smart-contracts, ethereum-contract, solidity-contracts
Ethereum Smart Contracts Security Checklist
Ethereum Smart Contracts Security CheckList From Knownsec 404 Team
Stars: ✭ 114 (+147.83%)
Mutual labels:  ethereum, smart-contracts, ethereum-contract
Eden Smart Contracts
EDEN - EDN Smart Token & Smart Contracts
Stars: ✭ 109 (+136.96%)
Mutual labels:  ethereum, smart-contracts, ethereum-contract
Simple-Game-ERC-721-Token-Template
🔮 Very Simple ERC-721 Smart Contract Template to create your own ERC-721 Tokens on the Ethereum Blockchain, with many customizable Options 🔮
Stars: ✭ 83 (+80.43%)
Mutual labels:  smart-contracts, ethereum-contract, solidity-contracts
Smart Contracts Example
Simple example of token market. Based on blockchain technology using Ethereum platform.
Stars: ✭ 37 (-19.57%)
Mutual labels:  ethereum, smart-contracts, ethereum-contract
Smart Contracts
Ethereum smart contracts for security and utility tokens
Stars: ✭ 1,187 (+2480.43%)
Mutual labels:  ethereum, smart-contracts, solidity-contracts
solidity-contracts
📦 Resources for the Ethereum Smart Contract Development tutorial series.
Stars: ✭ 64 (+39.13%)
Mutual labels:  smart-contracts, ethereum-contract, solidity-contracts
Ico Contracts
Ethereum smart contracts that have been used during successful ICOs
Stars: ✭ 160 (+247.83%)
Mutual labels:  ethereum, smart-contracts, ethereum-contract
Nmr
The Numeraire Ethereum Smart Contract
Stars: ✭ 316 (+586.96%)
Mutual labels:  ethereum, smart-contracts, ethereum-contract
Learn Solidity
Code base for "Learn Solidity: Programming Language for Ethereum Smart Contracts" course in Tosh Academy & Blockchain Council
Stars: ✭ 44 (-4.35%)
Mutual labels:  ethereum, smart-contracts, solidity-contracts
Ethereum Ico Contract
Tested Ethereum ICO Contract for Token Crowdsales
Stars: ✭ 59 (+28.26%)
Mutual labels:  ethereum, smart-contracts, ethereum-contract
Augmint Web
Augmint Web Frontend
Stars: ✭ 15 (-67.39%)
Mutual labels:  ethereum, smart-contracts, solidity-contracts
Seriality
Seriality is a library for serializing and de-serializing all the Solidity types in a very efficient way which mostly written in solidity-assembly
Stars: ✭ 105 (+128.26%)
Mutual labels:  smart-contracts, ethereum-contract, solidity-contracts
Smart Contract Sanctuary
🐦🌴🌴🌴🦕 A home for ethereum smart contracts. 🏠
Stars: ✭ 99 (+115.22%)
Mutual labels:  ethereum, smart-contracts, ethereum-contract
etherbrite
🗓 Clone eventbrite on Ethereum, built in Solidity, TruffleJS, Web3js and React/Redux.
Stars: ✭ 19 (-58.7%)
Mutual labels:  smart-contracts, ethereum-contract, solidity-contracts
React Ethereum Dapp Example
A starter boilerplate for an Ethereum dapp using web3.js v1.0, truffle, react, and parity
Stars: ✭ 384 (+734.78%)
Mutual labels:  ethereum, smart-contracts, ethereum-contract
Daox Contracts
Smart contracts for creating Daox-based fundraising organization
Stars: ✭ 31 (-32.61%)
Mutual labels:  ethereum, smart-contracts, ethereum-contract
Aeternity
æternity: solving scalability problems by making sense of state-channels
Stars: ✭ 923 (+1906.52%)
Mutual labels:  ethereum, smart-contracts
Vyper.fun
Cryptozombies for Vyper: Learn Vyper by building games!
Stars: ✭ 42 (-8.7%)
Mutual labels:  ethereum, smart-contracts
Panvala
Sustain Ethereum Together
Stars: ✭ 27 (-41.3%)
Mutual labels:  ethereum, smart-contracts

hanzo-solidity

npm build dependencies downloads license chat

Smart contracts developed for the Hanzo Platform

This is a collection of Solidity contracts developed for the Hanzo Platform. Designed to meet a broad range of needs, our contracts play well with Truffle and provide a cutting edge framework for contract development.

Install

$ npm install hanzo-solidity

Usage

Import the contracts you want to use:

import "hanzo-solidity/contracts/Versioned.sol";

contract Version {
    function version() public pure returns (string) {
        return "1.0.0";
    }

    function boolean() public pure returns (bool) {
        return true;
    }
}

contract Contract is Versioned {}

And interact with them as you would normally:

let Contract = artifacts.require('./Contract.sol')
let Version  = artifacts.require('./Version.sol')

contract('Contract', async () => {
  let contract, version, proxy = null

  before(async () => {
    contract = await Contract.deployed()
    version  = await Version.deployed()
    await contract.setVersion(version.address)

    // Use current version's ABI and provide simple interface to a versioned
    // smart contract.
    proxy = await Version.at(contract.address)
  })

  it('should return result from proxied method', async () => {
    let v = await proxy.boolean.call()
    assert.equal(v, true, 'boolean() did not return expected boolean')
  })
})

You can find more examples of our contracts in use in our test suite.

About Hanzo

Hanzo enables businesses to launch and operate blockchain networks, develop decentralized applications and deliver compelling experiences.

License

BSD

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].