Skip to content

The Polkadot Hackathon Global Series North America edition is the second in a series of hackathons that brings the cutting edge of blockchain to a global community.

Notifications You must be signed in to change notification settings

kris524/Polkadot-Hackathon-North-America-Edition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polkadot Hackathon Project

We are translating Uniswap v2 to Ink.

Dependencies

Install cargo-contract for building Ink contracts:

cargo install dylint-link cargo-dylint
cargo install cargo-contract

cargo-contract requires Binaryen for its wasm-opt tool. It's in most system packagers like apt and homebrew, but versions older than 99 are rejected by the Rust wasm tooling. The best way to get this tool may be to get it directly from their binary releases or build it yourself, in either case adding its bin directory to your PATH environment variable.

For the web frontend:

(cd www && npm install)

Building

At the moment ink crates have to be built individually:

cargo contract build --manifest-path=components/swap_traits/Cargo.toml

For the web frontend:

npm run build

or to serve it with live reloading:

npm run dev

License

GPL3

About

The Polkadot Hackathon Global Series North America edition is the second in a series of hackathons that brings the cutting edge of blockchain to a global community.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •