Skip to content

frol/near-web4-demo-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Web4 Demo on NEAR protocol (using Python)

Web4 is a gateway to the smart contracts deployed to NEAR protocol.

This demo just shows the minimum viable application that lives on NEAR chain, and thus anyone hosting the gateway can serve all the Web4 projects!

See it live on testnet: https://hello-web4-python.testnet.page

When you deploy on mainnet, you should be able to use https://ACCOUNT_ID.near.page as your gateway.

Build

Use near-py-tool CLI to build it.

Install:

python -m venv ./venv
. ./venv/bin/activate
pip install near-py-tool

Build:

near-py-tool build non-reproducible-wasm

Deploy

Using near-cli-rs you can deploy the contract to your account:

near contract deploy hello-web4-python.testnet use-file build/near-web4-demo-py.wasm without-init-call

Notes

There is a demo of this project available in Rust.