Skip to content

that83/auction-as

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auction-as

A sample smart contract for auction in NEAR protocol

  1. Download source code, install Node
  2. Install near-sdk-as: npm install --save near-sdk-as
  3. Compile contract: npx asb
  4. Deploy contract: near deploy --contractName=.testnet --wasmFile=./contract.wasm
  5. Using: near call .testnet reset '{"description":"Bag","reservePrice":"1","expectedSellPrice":"10","bidIncrement":"1","minutes":"10"}' --account_id that83.testnet --gas=200000000000000 near call .testnet explain --account_id .testnet --gas=200000000000000 near call .testnet bid --account_id .testnet --amount 1 --gas=200000000000000 near call .testnet bid --account_id .testnet --amount 2 --gas=200000000000000 near call .testnet bid --account_id .testnet --amount 9 --gas=200000000000000 near call .testnet finalize --account_id .testnet --gas=200000000000000

About

A sample smart contract for auction in NEAR protocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors